diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2023-08-23 06:50:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-05 12:26:58 +0300 |
commit | 4d08c3d12b61022501989f9f071514d2d6f77c47 (patch) | |
tree | 07b0824c5ddfc0a088ceec32973f36c11402632d /sound | |
parent | 0113a99b8a75f307439c2950cec5b5dab818f35c (diff) | |
download | linux-4d08c3d12b61022501989f9f071514d2d6f77c47.tar.xz |
misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
It is not allowed to call kfree_skb() from hardware interrupt
context or with hardware interrupts being disabled.
So replace kfree_skb() with dev_kfree_skb_irq() under
spin_lock_irqsave(). Compile tested only.
Fixes: 53618cc1e51e ("Staging: sources for ST core")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230823035020.1281892-1-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions