[v2,1/4] wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()

Kalle Valo kvalo at kernel.org
Thu Dec 22 08:13:20 PST 2022


Yang Yingliang <yangyingliang at huawei.com> wrote:

> 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: fc75122fabb5 ("libertas_tf: use irqsave() in USB's complete callback")
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>

4 patches applied to wireless-next.git, thanks.

9388ce97b982 wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
3968e81ba644 wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
f393df151540 wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
708a49a64237 wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20221207150008.111743-2-yangyingliang@huawei.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the libertas-dev mailing list