linux/drivers/net/ethernet/natsemi
Wei Yongjun 0942170f32 net: ns83820: use dev_kfree_skb_irq instead of kfree_skb
It is not allowed to call kfree_skb() from hardware interrupt
context or with interrupts being disabled, spin_lock_irqsave()
make sure always in irq disable context. So the kfree_skb()
should be replaced with dev_kfree_skb_irq().

This is detected by Coccinelle semantic patch.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-26 17:21:59 -04:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile drivers/net: delete all code/drivers depending on CONFIG_MCA 2012-05-17 16:37:41 -04:00
jazzsonic.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
macsonic.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
natsemi.c ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
ns83820.c net: ns83820: use dev_kfree_skb_irq instead of kfree_skb 2016-10-26 17:21:59 -04:00
sonic.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
sonic.h
xtsonic.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00