OpenCloudOS-Kernel/drivers/net/wireless/marvell/libertas_tf
Yang Yingliang 9388ce97b9 wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
It is not allowed to call kfree_skb() from hardware interrupt
context or with interrupts being disabled. So replace kfree_skb()
with dev_kfree_skb_irq() under spin_lock_irqsave(). Compile
tested only.

Fixes: fc75122fab ("libertas_tf: use irqsave() in USB's complete callback")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221207150008.111743-2-yangyingliang@huawei.com
2022-12-22 18:12:37 +02:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cmd.c libertas_tf: Fix a bunch of function doc formatting issues 2020-09-01 12:02:39 +03:00
deb_defs.h net: libertas libertas_tf: Remove in_interrupt() from debug macro. 2020-09-29 14:02:55 -07:00
if_usb.c wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave() 2022-12-22 18:12:37 +02:00
if_usb.h wireless: marvell: Replace zero-length array with flexible-array member 2020-03-23 19:11:09 +02:00
libertas_tf.h libertas_tf: Add missing __packed annotations 2021-12-08 20:39:54 +02:00
main.c wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00