diff options
| author | Yang Yingliang <[email protected]> | 2022-12-07 01:53:10 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-12-08 04:10:47 +0000 |
| commit | 7d8c19bfc8ff3f78e5337107ca9246327fcb6b45 (patch) | |
| tree | 2b12d6026dd83d0267a1479945fcce3d0c3bfb89 /net/bluetooth/hci_request.c | |
| parent | net: phy: mxl-gpy: add MDINT workaround (diff) | |
| download | kernel-7d8c19bfc8ff3f78e5337107ca9246327fcb6b45.tar.gz kernel-7d8c19bfc8ff3f78e5337107ca9246327fcb6b45.zip | |
net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()
It is not allowed to call kfree_skb() or consume_skb() from
hardware interrupt context or with interrupts being disabled.
So replace kfree_skb/dev_kfree_skb() with dev_kfree_skb_irq()
and dev_consume_skb_irq() under spin_lock_irq().
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions
