mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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: 81be03e026 ("Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg")
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>