summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@linux.dev>2025-08-29 10:35:21 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-09 18:56:22 +0200
commit5430388a81113e62a2d48b5d7dc1e76231908ebf (patch)
tree51a174b045195a01a0a56f89e171e10b3c477adb /include/uapi/linux
parent8d09b13789ba02cf1da8e98b73ddf2505c66034d (diff)
net: macb: Fix tx_ptr_lock locking
[ Upstream commit 6bc8a5098bf4a365c4086a4a4130bfab10a58260 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions