linux-stable/net/bluetooth
Yang Yingliang 54c7317bde Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
[ Upstream commit 39c1eb6fcb ]

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: 9238f36a5a ("Bluetooth: Add request cmd_complete and cmd_status functions")
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-07 12:07:23 +01:00
..
bnep
cmtp Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails 2022-01-27 08:47:33 +01:00
hidp HID: introduce hid_is_using_ll_driver 2021-12-14 10:04:46 +01:00
rfcomm Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl 2020-04-13 10:32:57 +02:00
6lowpan.c Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn() 2022-12-14 11:24:34 +01:00
Kconfig
Makefile
a2mp.c Bluetooth: drop HCI device reference before return 2021-03-03 17:44:32 +01:00
a2mp.h
af_bluetooth.c
amp.c Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data 2021-03-07 11:25:57 +01:00
amp.h
ecc.c
ecc.h
hci_conn.c Bluetooth: Disconnect if E0 is used for Level 4 2020-10-17 11:02:19 +02:00
hci_core.c Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave() 2023-01-07 12:07:23 +01:00
hci_debugfs.c
hci_debugfs.h
hci_event.c Bluetooth: Fix use after free in hci_send_acl 2022-04-20 09:06:43 +02:00
hci_request.c bluetooth: eliminate the potential race condition when removing the HCI controller 2021-05-22 10:40:20 +02:00
hci_request.h
hci_sock.c Bluetooth: defer cleanup of resources in hci_unregister_dev() 2021-08-15 13:01:02 +02:00
hci_sysfs.c Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times 2022-10-26 13:15:46 +02:00
l2cap_core.c Bluetooth: L2CAP: Fix u8 overflow 2023-01-07 12:07:11 +01:00
l2cap_sock.c Bluetooth: fix use-after-free error in lock_sock_nested() 2021-11-26 11:48:27 +01:00
leds.c
leds.h
lib.c
mgmt.c Bluetooth: Fix the HCI to MGMT status conversion table 2021-07-20 16:21:08 +02:00
mgmt_util.c
mgmt_util.h
sco.c Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout 2022-06-14 16:52:32 +02:00
selftest.c
selftest.h
smp.c Bluetooth: SMP: Fail if remote and local public keys are identical 2021-05-26 11:29:09 +02:00
smp.h