Skip to content
Commit 8b6da5fb authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

staging/octeon-ethernet: Call dev_kfree/consume_skb_any instead of dev_kfree_skb.



Replace dev_kfree_skb with dev_kfree_skb_any in cvm_oct_xmit_pow which
can be called in hard irq and other contexts, on the code paths that
drop packets.

Replace dev_kfree_skb with dev_consume_skb_any in cvm_oct_xmit_pow which
can be called in hard irq and other contexts, on the code path where
the packet is transmitted successfully.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 8d4ade28
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