diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-12-06 15:59:10 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-12-13 01:19:25 +0300 |
commit | b15a6bd3c80c77faec8317319b97f976b1a08332 (patch) | |
tree | a285533610247ea37be61d5794d4cf2fa0f2fa45 /drivers/bluetooth/hci_ll.c | |
parent | cee50ce899de415baf4da3ed38b7d4f13c3170d1 (diff) | |
download | linux-b15a6bd3c80c77faec8317319b97f976b1a08332.tar.xz |
Bluetooth: btusb: 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: 803b58367ffb ("Bluetooth: btusb: Implement driver internal packet reassembly")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_ll.c')
0 files changed, 0 insertions, 0 deletions