aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2025-07-16 22:08:15 +0000
committerJakub Kicinski <[email protected]>2025-07-17 23:25:21 +0000
commit32d5eaabf186112eb2023aacb860c47ff7e7fdbf (patch)
tree2ee733c4b912188c16070d33831a88cae7f15e79 /net/switchdev/switchdev.c
parentneighbour: Convert RTM_GETNEIGH to RCU. (diff)
downloadkernel-32d5eaabf186112eb2023aacb860c47ff7e7fdbf.tar.gz
kernel-32d5eaabf186112eb2023aacb860c47ff7e7fdbf.zip
neighbour: Drop read_lock_bh(&tbl->lock) in pneigh_dump_table().
Now pneigh_entry is guaranteed to be alive during the RCU critical section even without holding tbl->lock. Let's drop read_lock_bh(&tbl->lock) and use rcu_dereference() to iterate tbl->phash_buckets[] in pneigh_dump_table() 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/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions