android_kernel_xiaomi_sm8350/net/bluetooth
Yang Yingliang 203d604bd5 Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
[ Upstream commit 0ba18967d4544955b2eff2fbc4f2a8750c4df90a ]

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: 81be03e026dc ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:41:16 +01:00
..
bnep
cmtp
hidp
rfcomm Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave() 2023-01-18 11:41:16 +01:00
6lowpan.c Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn() 2022-12-14 11:30:45 +01:00
a2mp.c
a2mp.h
af_bluetooth.c Bluetooth: Fix not cleanup led when bt_init fails 2022-12-14 11:30:45 +01:00
amp.c
amp.h
ecdh_helper.c
ecdh_helper.h
hci_conn.c
hci_core.c Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave() 2023-01-18 11:41:16 +01:00
hci_debugfs.c
hci_debugfs.h
hci_event.c
hci_request.c
hci_request.h
hci_sock.c
hci_sysfs.c Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times 2022-10-26 13:22:49 +02:00
Kconfig
l2cap_core.c Bluetooth: L2CAP: Fix u8 overflow 2023-01-18 11:40:49 +01:00
l2cap_sock.c
leds.c
leds.h
lib.c
Makefile
mgmt_util.c
mgmt_util.h
mgmt.c
sco.c Bluetooth: SCO: Fix sco_send_frame returning skb->len 2022-07-29 17:14:19 +02:00
selftest.c
selftest.h
smp.c
smp.h