mbox series

[v2,0/3] wifi: rtlwifi: don't call kfree_skb() under spin_lock_irqsave()

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

Message

Yang Yingliang Dec. 7, 2022, 6:28 a.m. UTC
It is not allowed to call kfree_skb() from hardware interrupt
context or with interrupts being disabled. This patchset is
trying to add all skb to a free list, then free them after
spin_unlock_irqrestore() at once.

v1 -> v2:
  change subject prefix to "wifi: rtlwifi: ..."

Yang Yingliang (3):
  wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under
    spin_lock_irqsave()
  wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under
    spin_lock_irqsave()
  wifi: rtlwifi: rtl8723be: don't call kfree_skb() under
    spin_lock_irqsave()

 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c | 6 +++++-
 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c | 6 +++++-
 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)