ipv6: lockless IPV6_RECVERR implemetation
authorEric Dumazet <edumazet@google.com>
Tue, 12 Sep 2023 16:02:08 +0000 (16:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Sep 2023 09:33:48 +0000 (10:33 +0100)
commit3fa29971c69519629370b119b0b618ee88ade6b9
tree3008d12c2cb04af2d4e8038799d28dcfce797b7b
parent1086ca7cce292bb498d7f8f85f4593c9ef4902b7
ipv6: lockless IPV6_RECVERR implemetation

np->recverr is moved to inet->inet_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
include/net/ipv6.h
net/dccp/ipv6.c
net/ipv4/ping.c
net/ipv6/datagram.c
net/ipv6/ipv6_sockglue.c
net/ipv6/raw.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/sctp/ipv6.c