diff options
author | Florian Westphal <fw@strlen.de> | 2022-11-29 17:06:44 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-12-01 14:42:46 +0300 |
commit | c25b7a7a565e5eeb2459b37583eea67942057511 (patch) | |
tree | 595a7dbdbdd35175a524565921f95ea569cab9b2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9aff0ec5cba5b4ec4f199bbc6d0b7e1fedfa149e (diff) | |
download | linux-c25b7a7a565e5eeb2459b37583eea67942057511.tar.xz |
inet: ping: use hlist_nulls rcu iterator during lookup
ping_lookup() does not acquire the table spinlock, so iteration should
use hlist_nulls_for_each_entry_rcu().
Spotted during code review.
Fixes: dbca1596bbb0 ("ping: convert to RCU lookups, get rid of rwlock")
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Link: https://lore.kernel.org/r/20221129140644.28525-1-fw@strlen.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions