aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlegacy/common.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-12-07 22:14:11 +0800
committerKalle Valo <kvalo@kernel.org>2022-12-14 14:20:38 +0200
commit313950c2114e7051c4e3020fd82495fa1fb526a8 (patch)
tree594a384e8d010da6c045c4a0d77877f8a8a1e2fc /drivers/net/wireless/intel/iwlegacy/common.c
parentwifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave() (diff)
downloadlinux-313950c2114e7051c4e3020fd82495fa1fb526a8.tar.gz
linux-313950c2114e7051c4e3020fd82495fa1fb526a8.zip
wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. All the SKBs have been dequeued from the old queue, so it's safe to enqueue these SKBs to a free queue, then free them after spin_unlock_irqrestore() at once. Compile tested only. Fixes: 5c99f04fec93 ("rtlwifi: rtl8723be: Update driver to match Realtek release of 06/28/14") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20221207141411.46098-4-yangyingliang@huawei.com
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/common.c')
0 files changed, 0 insertions, 0 deletions