diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-07-16 22:08:16 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-17 23:25:21 +0000 |
| commit | b9c89fa128fa41e56300434dfca1138459b29384 (patch) | |
| tree | bd5b6056c01ffe8d7be8ebd2b7c8106029f49e29 /drivers/usb/cdns3/cdns3-trace.h | |
| parent | neighbour: Drop read_lock_bh(&tbl->lock) in pneigh_dump_table(). (diff) | |
| download | kernel-b9c89fa128fa41e56300434dfca1138459b29384.tar.gz kernel-b9c89fa128fa41e56300434dfca1138459b29384.zip | |
neighbour: Use rcu_dereference() in pneigh_get_{first,next}().
Now pneigh_entry is guaranteed to be alive during the
RCU critical section even without holding tbl->lock.
Let's use rcu_dereference() in pneigh_get_{first,next}().
Note that neigh_seq_start() still holds tbl->lock for the
normal neighbour entry.
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions
