aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-trace.h
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2025-07-16 22:08:17 +0000
committerJakub Kicinski <[email protected]>2025-07-17 23:25:21 +0000
commitdd103c9a53752d3754a3182ec8dd97885680cfe2 (patch)
treea7c72c07baf447fdb412409f2673b0425f082aaf /drivers/usb/cdns3/cdns3-trace.h
parentneighbour: Use rcu_dereference() in pneigh_get_{first,next}(). (diff)
downloadkernel-dd103c9a53752d3754a3182ec8dd97885680cfe2.tar.gz
kernel-dd103c9a53752d3754a3182ec8dd97885680cfe2.zip
neighbour: Remove __pneigh_lookup().
__pneigh_lookup() is the lockless version of pneigh_lookup(), but its only caller pndisc_is_router() holds the table lock and reads pneigh_netry.flags. This is because accessing pneigh_entry after pneigh_lookup() was illegal unless the caller holds RTNL or the table lock. Now, pneigh_entry is guaranteed to be alive during the RCU critical section. Let's call pneigh_lookup() and use READ_ONCE() for n->flags in pndisc_is_router() and remove __pneigh_lookup(). 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