Skip to content
Commit 2a05334d authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()



It is not allowed to call kfree_skb() from hardware interrupt
context or with hardware interrupts being disabled.
So replace kfree_skb() with dev_kfree_skb_irq() under
spin_lock_irqsave(). Compile tested only.

Fixes: baac6276 ("Bluetooth: btusb: handle mSBC audio over USB Endpoints")
Signed-off-by: default avatarJinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent d831e361
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment