summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-12-07 17:40:13 +0300
committerKalle Valo <kvalo@kernel.org>2022-12-14 15:21:21 +0300
commit0c1528675d7a9787cb516b64d8f6c0f6f8efcb48 (patch)
tree360ae16ff9e184301b55dc974c395901a7d7f21e /include/linux
parent313950c2114e7051c4e3020fd82495fa1fb526a8 (diff)
downloadlinux-0c1528675d7a9787cb516b64d8f6c0f6f8efcb48.tar.xz
wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
It is not allowed to call consume_skb() from hardware interrupt context or with interrupts being disabled. So replace dev_kfree_skb() with dev_consume_skb_irq() under spin_lock_irqsave(). Compile tested only. Fixes: 4bc85c1324aa ("Revert "iwlwifi: split the drivers for agn and legacy devices 3945/4965"") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Acked-by: Stanislaw Gruszka <stf_xl@wp.pl> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20221207144013.70210-1-yangyingliang@huawei.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions