I send a wrong patch, please ignore this patchset, I will resend it. On 2022/12/6 18:37, Yang Yingliang wrote:
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. Yang Yingliang (3): rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave() rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave() 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 | 5 +++++ drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 6 +++++- 3 files changed, 15 insertions(+), 2 deletions(-)