]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv6: lockless IPV6_RECVERR_RFC4884 implementation
authorEric Dumazet <edumazet@google.com>
Tue, 12 Sep 2023 16:02:04 +0000 (16:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Sep 2023 09:33:47 +0000 (10:33 +0100)
commitdcae74622c051b219ee628669a31716473efda2c
tree3f58f19b52c4f580955bd41e150fc12169f738ea
parent273784d3c5741522199011772651dbb50db8c810
ipv6: lockless IPV6_RECVERR_RFC4884 implementation

Move np->recverr_rfc4884 to an atomic flag 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/datagram.c
net/ipv6/ipv6_sockglue.c