diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-12-07 16:04:53 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-12-22 17:14:33 +0100 |
commit | 44bacbdf9066c590423259dbd6d520baac99c1a8 (patch) | |
tree | f3760aef1435d0044fefc61fe67cf770627eea9b /net/mac80211 | |
parent | wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave() (diff) | |
download | linux-44bacbdf9066c590423259dbd6d520baac99c1a8.tar.xz linux-44bacbdf9066c590423259dbd6d520baac99c1a8.zip |
wifi: wl3501_cs: 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. So replace kfree_skb()
with dev_kfree_skb_irq() under spin_lock_irqsave(). Compile
tested only.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221207150453.114742-1-yangyingliang@huawei.com
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions