diff options
author | 2024-10-09 18:44:04 +0000 | |
---|---|---|
committer | 2024-10-11 15:35:05 -0700 | |
commit | 055202b16c589cc82cc8ab9d4316701547fb8853 (patch) | |
tree | 7a900f50420e5f54a991198bc62c2ca8776ef7ff /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ipv6: use READ_ONCE()/WRITE_ONCE() on fib6_table->fib_seq (diff) | |
download | wireguard-linux-055202b16c589cc82cc8ab9d4316701547fb8853.tar.xz wireguard-linux-055202b16c589cc82cc8ab9d4316701547fb8853.zip |
ipmr: use READ_ONCE() to read net->ipv[46].ipmr_seq
mr_call_vif_notifiers() and mr_call_mfc_notifiers() already
uses WRITE_ONCE() on the write side.
Using RTNL to protect the reads seems a big hammer.
Constify 'struct net' argument of ip6mr_rules_seq_read()
and ipmr_rules_seq_read().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20241009184405.3752829-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions