mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
neighbour: Remove __rcu from neigh_tables[].
Since commit 1bf20cc62a ("neighbour: remove obsolete
EXPORT_SYMBOL()") unexported neigh_table_init(), neigh_table
cannot be registered dynamically.
Let's remove RCU protection for neigh_tables[].
Note that neightbl_set() no longer needs RCU because it holds
spin_lock_bh(&tbl->lock).
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260902203722.926528-6-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
ffc5821e8a
commit
cbc2fbb685
1 changed files with 9 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue