ipv6: lockless IPV6_MULTICAST_ALL implementation
authorEric Dumazet <edumazet@google.com>
Tue, 12 Sep 2023 16:02:05 +0000 (16:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Sep 2023 09:33:47 +0000 (10:33 +0100)
commit6559c0ff3bc27d7e4d447d31c1d7e8eae0e959f5
tree4bdfec6afcbc395fb2a9034b55bc109624671d01
parentdcae74622c051b219ee628669a31716473efda2c
ipv6: lockless IPV6_MULTICAST_ALL implementation

Move np->mc_all to an atomic flags to fix data-races.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h
include/net/inet_sock.h
net/ipv6/af_inet6.c
net/ipv6/ipv6_sockglue.c
net/ipv6/mcast.c