summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@google.com>2026-09-09 23:31:23 +0000
committerJakub Kicinski <kuba@kernel.org>2026-09-11 17:25:13 -0700
commit764dcebb033764633700a036c7351a7c6350eec6 (patch)
tree33800350cb91442235bf4dab59279a452e997996 /tools/perf/scripts/python
parent78445023439506ebd83b86d40b1e428a3b309d4a (diff)
downloadlinux-764dcebb033764633700a036c7351a7c6350eec6.tar.gz
linux-764dcebb033764633700a036c7351a7c6350eec6.zip
neighbour: Add missing RCU annotation for neightbl_dump_info().
neightbl_dump_info() fetches the first non-default neigh_parms with list_next_entry(&tbl->parms, ...) and iterates through the list with list_for_each_entry_from_rcu(). However, list_next_entry() does not use RCU helper. Let's use list_for_each_entry_rcu() and skip the default parms. Fixes: 4ae34be50064 ("neighbour: Convert RTM_GETNEIGHTBL to RCU.") Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20260909233143.2401847-2-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions