https://github.com/torvalds/linux
Revision 7d8c19bfc8ff3f78e5337107ca9246327fcb6b45 authored by Yang Yingliang on 07 December 2022, 01:53:10 UTC, committed by Jakub Kicinski on 08 December 2022, 04:10:47 UTC
It is not allowed to call kfree_skb() or consume_skb() from
hardware interrupt context or with interrupts being disabled.
So replace kfree_skb/dev_kfree_skb() with dev_kfree_skb_irq()
and dev_consume_skb_irq() under spin_lock_irq().

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20221207015310.2984909-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 5f4d487
History
Tip revision: 7d8c19bfc8ff3f78e5337107ca9246327fcb6b45 authored by Yang Yingliang on 07 December 2022, 01:53:10 UTC
net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()
Tip revision: 7d8c19b
File Mode Size
Kconfig -rw-r--r-- 4.8 KB
Makefile -rw-r--r-- 427 bytes
af_ax25.c -rw-r--r-- 45.3 KB
ax25_addr.c -rw-r--r-- 5.8 KB
ax25_dev.c -rw-r--r-- 4.9 KB
ax25_ds_in.c -rw-r--r-- 6.9 KB
ax25_ds_subr.c -rw-r--r-- 4.8 KB
ax25_ds_timer.c -rw-r--r-- 5.7 KB
ax25_iface.c -rw-r--r-- 4.7 KB
ax25_in.c -rw-r--r-- 10.3 KB
ax25_ip.c -rw-r--r-- 5.3 KB
ax25_out.c -rw-r--r-- 8.5 KB
ax25_route.c -rw-r--r-- 10.8 KB
ax25_std_in.c -rw-r--r-- 10.9 KB
ax25_std_subr.c -rw-r--r-- 2.1 KB
ax25_std_timer.c -rw-r--r-- 4.1 KB
ax25_subr.c -rw-r--r-- 7.0 KB
ax25_timer.c -rw-r--r-- 4.9 KB
ax25_uid.c -rw-r--r-- 4.3 KB
sysctl_net_ax25.c -rw-r--r-- 4.3 KB

back to top