diff options
author | 2025-02-05 15:51:19 +0000 | |
---|---|---|
committer | 2025-02-06 16:14:15 -0800 | |
commit | 34aef2b0ce3aa4eb4ef2e1f5cad3738d527032f5 (patch) | |
tree | 9b8e93efb8a4b5e57a25928503160025c1d0bfae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ipv6: use RCU protection in ip6_default_advmss() (diff) | |
download | wireguard-linux-34aef2b0ce3aa4eb4ef2e1f5cad3738d527032f5.tar.xz wireguard-linux-34aef2b0ce3aa4eb4ef2e1f5cad3738d527032f5.zip |
ipv6: icmp: convert to dev_net_rcu()
icmp6_send() must acquire rcu_read_lock() sooner to ensure
the dev_net() call done from a safe context.
Other ICMPv6 uses of dev_net() seem safe, change them to
dev_net_rcu() to get LOCKDEP support to catch bugs.
Fixes: 9a43b709a230 ("[NETNS][IPV6] icmp6 - make icmpv6_socket per namespace")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250205155120.1676781-12-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions