WSL2-Linux-Kernel/net/bluetooth/rfcomm
Yang Yingliang 0ba18967d4 Bluetooth: RFCOMM: 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().

Fixes: 81be03e026 ("Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2022-12-12 14:19:26 -08:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
core.c Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave() 2022-12-12 14:19:26 -08:00
sock.c Bluetooth: RFCOMM: Fix possible deadlock on socket shutdown/release 2022-09-15 14:07:59 -07:00
tty.c Driver core changes for 6.1-rc1 2022-10-07 17:04:10 -07:00