OpenCloudOS-Kernel/drivers/net/ethernet/allwinner
Eric W. Biederman c99abc8b39 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>
2014-03-24 21:15:53 -07:00
..
Kconfig drivers: net: sun4i-emac: select MDIO_SUN4I 2013-07-26 13:57:58 -07:00
Makefile net: Add EMAC ethernet driver found on Allwinner A10 SoC's 2013-05-31 17:23:07 -07:00
sun4i-emac.c sun4i-emac: Call dev_consume_skb_any instead of dev_kfree_skb. 2014-03-24 21:15:53 -07:00
sun4i-emac.h net: Add EMAC ethernet driver found on Allwinner A10 SoC's 2013-05-31 17:23:07 -07:00