ipv6: lockless IPV6_MINHOPCOUNT implementation
authorEric Dumazet <edumazet@google.com>
Tue, 12 Sep 2023 16:02:03 +0000 (16:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Sep 2023 09:33:47 +0000 (10:33 +0100)
commit273784d3c5741522199011772651dbb50db8c810
treeeca1da6e908354532c818456152282eb279c11dd
parent15f926c4457aa65b1ac83bda1bbdcaad3f48e4e7
ipv6: lockless IPV6_MINHOPCOUNT implementation

Add one missing READ_ONCE() annotation in do_ipv6_getsockopt()
and make IPV6_MINHOPCOUNT setsockopt() 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/ipv6/ipv6_sockglue.c