3c59x: Call dev_consume_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 15 Mar 2014 22:31:09 +0000 (15:31 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 24 Mar 2014 22:17:22 +0000 (15:17 -0700)
commite5ddf351b1b10a1da6b76176f4e1fdce09f90892
tree3d4439f94cd83ce9e55e17fcd9e2f3f022e04dda
parent8fa9524d6b5519b6e1d549cb37bbbd10587e3eae
3c59x: Call dev_consume_skb_any instead of dev_kfree_skb.

Replace dev_kfree_skb with dev_consume_skb_any in vortex_start_xmit
as it can be called in hard irq and other contexts.

dev_consume_skb_any is used when vortext_start_xmit directly consumes
the packet instead of dmaing it to the device.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
drivers/net/ethernet/3com/3c59x.c