diff options
author | 2025-08-29 10:35:21 -0400 | |
---|---|---|
committer | 2025-09-01 13:11:10 -0700 | |
commit | 6bc8a5098bf4a365c4086a4a4130bfab10a58260 (patch) | |
tree | e284374df140fd5bd700c78e7f676bf165f3f5c1 /tools/perf/scripts/python | |
parent | docs: remove obsolete description about threaded NAPI (diff) | |
download | wireguard-linux-6bc8a5098bf4a365c4086a4a4130bfab10a58260.tar.xz wireguard-linux-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 <efault@gmx.de>
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Link: https://patch.msgid.link/20250829143521.1686062-1-sean.anderson@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions