Skip to content
Commit 20eca054 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

spider_net: Call dev_consume_skb_any instead of dev_kfree_skb.



Replace dev_kfree_skb with dev_consume_skb_any in
spider_net_release_tx_chain which can be called in hard irq and other
contexts.

dev_consume_skb_any was choosen as it preserves the current
dev_kfree_skb semantics (dev_kfree_skb is consume_skb) and
is because it is correct most of the time as most packets
will have been successfully transmitted not dropeed.

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