diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-07-16 22:08:18 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-17 23:25:21 +0000 |
| commit | b8b7ed1ea83a9b2b6e697c10c4b24b9ea0003e19 (patch) | |
| tree | c8ead49dd33bd3e76e6a2695719b93712736d983 /net/core/lock_debug.c | |
| parent | neighbour: Remove __pneigh_lookup(). (diff) | |
| download | kernel-b8b7ed1ea83a9b2b6e697c10c4b24b9ea0003e19.tar.gz kernel-b8b7ed1ea83a9b2b6e697c10c4b24b9ea0003e19.zip | |
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions
