mbox series

[v2,0/6] Bluetooth: don't call kfree_skb() under spin_lock_irqsave()

Message ID 20221207021835.3012559-1-yangyingliang@huawei.com
Headers show
Series Bluetooth: don't call kfree_skb() under spin_lock_irqsave() | expand

Message

Yang Yingliang Dec. 7, 2022, 2:18 a.m. UTC
It is not allowed to call kfree_skb() from hardware interrupt
context or with interrupts being disabled. This patchset is
replace kfree_skb() with dev_kfree_skb_irq() under
spin_lock_irqsave().

v1 -> v2:
  Replace kfree_skb() with dev_kfree_skb_irq().

Yang Yingliang (6):
  Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()
  Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()
  Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()
  Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()
  Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
  Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()

 drivers/bluetooth/hci_bcsp.c | 2 +-
 drivers/bluetooth/hci_h5.c   | 2 +-
 drivers/bluetooth/hci_ll.c   | 2 +-
 drivers/bluetooth/hci_qca.c  | 2 +-
 net/bluetooth/hci_core.c     | 2 +-
 net/bluetooth/rfcomm/core.c  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

Comments

patchwork-bot+bluetooth@kernel.org Dec. 7, 2022, 9:20 p.m. UTC | #1
Hello:

This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Wed, 7 Dec 2022 10:18:29 +0800 you wrote:
> It is not allowed to call kfree_skb() from hardware interrupt
> context or with interrupts being disabled. This patchset is
> replace kfree_skb() with dev_kfree_skb_irq() under
> spin_lock_irqsave().
> 
> v1 -> v2:
>   Replace kfree_skb() with dev_kfree_skb_irq().
> 
> [...]

Here is the summary with links:
  - [v2,1/6] Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()
    https://git.kernel.org/bluetooth/bluetooth-next/c/53a3dd1fe59f
  - [v2,2/6] Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()
    https://git.kernel.org/bluetooth/bluetooth-next/c/1813c380e222
  - [v2,3/6] Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()
    https://git.kernel.org/bluetooth/bluetooth-next/c/a1e7f617bc0d
  - [v2,4/6] Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()
    https://git.kernel.org/bluetooth/bluetooth-next/c/0935d021bde3
  - [v2,5/6] Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
    https://git.kernel.org/bluetooth/bluetooth-next/c/a3381581499f
  - [v2,6/6] Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
    https://git.kernel.org/bluetooth/bluetooth-next/c/894e4bc8d807

You are awesome, thank you!