diff options
author | Sean Anderson <sean.anderson@linux.dev> | 2025-08-29 10:35:21 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-01 13:11:10 -0700 |
commit | 6bc8a5098bf4a365c4086a4a4130bfab10a58260 (patch) | |
tree | e284374df140fd5bd700c78e7f676bf165f3f5c1 /rust/helpers/pci.c | |
parent | b434a3772dca1c90a40e8ec69230caa55c18ef84 (diff) |
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 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions