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

np->frag_size can be read/written without holding socket lock.

Add missing annotations and make IPV6_MTU 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/ip6_output.c
net/ipv6/ipv6_sockglue.c