]> Gentwo Git Trees - linux/.git/commit
neighbour: Convert rwlock of struct neigh_table to spinlock.
authorKuniyuki Iwashima <kuniyu@google.com>
Wed, 22 Oct 2025 05:39:49 +0000 (05:39 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 25 Oct 2025 00:57:20 +0000 (17:57 -0700)
commit3064d0fe02af23a3956d2b690461abb44da88cf4
tree80154b9872342952bfe0f5c46c7b2972566355f0
parent55a6046b48a8c7d3ea164d9b68902b4ea6930cf3
neighbour: Convert rwlock of struct neigh_table to spinlock.

Only neigh_for_each() and neigh_seq_start/stop() are on the
reader side of neigh_table.lock.

Let's convert rwlock to the plain spinlock.

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20251022054004.2514876-6-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/neighbour.h
net/atm/clip.c
net/core/neighbour.c
net/ipv4/arp.c