Thread (34 messages) flat view 34 messages, 4 authors, 2025-01-14

Re: [PATCH net-next 09/11] net: protect napi->irq with netdev_lock()

From: Joe Damato <hidden>
Date: 2025-01-14 23:19:23

On Mon, Jan 13, 2025 at 07:51:15PM -0800, Jakub Kicinski wrote:
Take netdev_lock() in netif_napi_set_irq(). All NAPI "control fields"
are now protected by that lock (most of the other ones are set during
napi add/del). The napi_hash_node is fully protected by the hash
spin lock, but close enough for the kdoc...

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
 include/linux/netdevice.h | 10 +++++++++-
 net/core/dev.c            |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)
Reviewed-by: Joe Damato <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help