staging/octeon-ethernet: Call dev_kfree/consume_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 16 Mar 2014 01:39:19 +0000 (18:39 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:19:24 +0000 (21:19 -0700)
commit8b6da5fb96e316848d6af6201925f765608b76cd
tree5817fba07b715a1f79a3219306dca153bf2bd71d
parent8d4ade284a41aa827a13242b6fa9b6b68b9b7d71
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: "Eric W. Biederman" <ebiederm@xmission.com>
drivers/staging/octeon/ethernet-tx.c