diff options
| author | Sean Anderson <[email protected]> | 2025-08-29 14:35:21 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-09-01 20:11:10 +0000 |
| commit | 6bc8a5098bf4a365c4086a4a4130bfab10a58260 (patch) | |
| tree | e284374df140fd5bd700c78e7f676bf165f3f5c1 /drivers/net/macsec.c | |
| parent | docs: remove obsolete description about threaded NAPI (diff) | |
| download | kernel-6bc8a5098bf4a365c4086a4a4130bfab10a58260.tar.gz kernel-6bc8a5098bf4a365c4086a4a4130bfab10a58260.zip | |
net: macb: Fix tx_ptr_lock locking
macb_start_xmit and macb_tx_poll can be called with bottom-halves
disabled (e.g. from softirq) as well as with interrupts disabled (with
netpoll). Because of this, all other functions taking tx_ptr_lock must
use spin_lock_irqsave.
Fixes: 138badbc21a0 ("net: macb: use NAPI for TX completion path")
Reported-by: Mike Galbraith <[email protected]>
Signed-off-by: Sean Anderson <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions
