diff options
author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-07-16 22:08:18 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-17 16:25:21 -0700 |
commit | b8b7ed1ea83a9b2b6e697c10c4b24b9ea0003e19 (patch) | |
tree | c8ead49dd33bd3e76e6a2695719b93712736d983 /net/nsh/nsh.c | |
parent | dd103c9a53752d3754a3182ec8dd97885680cfe2 (diff) |
neighbour: Drop read_lock_bh(&tbl->lock) in pneigh_lookup().
Now, all callers of pneigh_lookup() are under RCU, and the read
lock there is no longer needed.
Let's drop the lock, inline __pneigh_lookup_1() to pneigh_lookup(),
and call it from pneigh_create().
The next patch will remove tbl->lock from pneigh_create().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250716221221.442239-14-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions