diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-12-07 23:00:08 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-12-22 18:12:38 +0200 |
commit | 708a49a64237f19bd404852f297aaadbc9e7fee0 (patch) | |
tree | a2ab17d79bd4ff774eec4c7b2a36deb64b861f6c /drivers/vhost | |
parent | f393df151540bf858effbd29ff572ab94e76a4c4 (diff) |
wifi: libertas: cmdresp: 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: f52b041aed77 ("libertas: Add spinlock to avoid race condition")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221207150008.111743-5-yangyingliang@huawei.com
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions