Skip to content
Commit 4b3afc6e authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

via-rhine: Call dev_kfree/consume_skb_any instead of dev_kfree_skb.



Replace dev_kfree_skb with dev_kfree_skb_any in rhine_start_tx which
can be called in hard irq and other contexts.  Packets are only freed
in rhine_start_tx if they are dropped.

Replace dev_kfree_skb with dev_consume_skb_any in rhine_tx that can be
called in hard irq and other contexts.  rhine_tx handles successfully
transmitted packets.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 20eca054
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment