sun4i-emac: Call dev_consume_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:13:02 +0000 (21:13 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:15:53 +0000 (21:15 -0700)
commitc99abc8b39d8281dad04d771bb7a2de36fec4d9f
tree188ee01d6ba2703e1491ee54cb315523932bfe34
parent21534d20fe6f7108f7f4eaaf47f138e20e6c85c9
sun4i-emac: Call dev_consume_skb_any instead of dev_kfree_skb.

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

emac_start_xmit always transmits the packet making dev_consume_skb
the appropriate function to call.

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