]> www.infradead.org Git - users/dwmw2/linux.git/commit
ipv6: annotate data-races around np->mcast_oif
authorEric Dumazet <edumazet@google.com>
Fri, 8 Dec 2023 10:12:43 +0000 (10:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Dec 2023 10:59:17 +0000 (10:59 +0000)
commitd2f011a0bf28c090ad75c9b1d306f2e1dda1c9bc
tree672849531d60dae088df5508f6183ea01231b6ae
parent9a64d4c93eee6b2efb7a02ec98d9480946424509
ipv6: annotate data-races around np->mcast_oif

np->mcast_oif is read locklessly in some contexts.

Make all accesses to this field lockless, adding appropriate
annotations.

This also makes setsockopt( IPV6_MULTICAST_IF ) lockless.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv6.c
net/ipv6/datagram.c
net/ipv6/icmp.c
net/ipv6/ipv6_sockglue.c
net/ipv6/ping.c
net/ipv6/raw.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/l2tp/l2tp_ip6.c
net/netfilter/ipvs/ip_vs_sync.c
net/rds/tcp_listen.c