summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-09-12 16:02:01 +0000
committerDavid S. Miller <davem@davemloft.net>2023-09-15 10:33:46 +0100
commit2da23eb07c91241d962f3ff05565065484cd8929 (patch)
tree921417255db7f2389304c5f21aac9c828b58caa8 /net/ipv6/ip6_output.c
parentd986f52124e062753e33b6fe303be5904a997eac (diff)
ipv6: lockless IPV6_MULTICAST_HOPS implementation
This fixes data-races around np->mcast_hops, and make IPV6_MULTICAST_HOPS lockless. Note that np->mcast_hops is never negative, thus can fit an u8 field instead of s16. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions