diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-12-07 03:18:32 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-12-12 23:19:25 +0100 |
commit | 383630cc6758d619874c2e8bb2f68a61f3f9ef6e (patch) | |
tree | 24d395a59a16e84ff1202d753035c424ef5fbcfc /drivers/bluetooth/btintel.h | |
parent | Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave() (diff) | |
download | linux-383630cc6758d619874c2e8bb2f68a61f3f9ef6e.tar.xz linux-383630cc6758d619874c2e8bb2f68a61f3f9ef6e.zip |
Bluetooth: hci_h5: 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: 43eb12d78960 ("Bluetooth: Fix/implement Three-wire reliable packet sending")
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/btintel.h')
0 files changed, 0 insertions, 0 deletions