commit | 6b724bc4300b431443f3b99520994a5aece347cd | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Sep 12 16:02:11 2023 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 15 10:33:48 2023 +0100 |
tree | 02730c15dc86341705749df48ed87b7ca84688c1 | |
parent | 83cd5eb654b320c1972254f243531f3f3cebcccf [diff] |
ipv6: lockless IPV6_MTU_DISCOVER implementation Most np->pmtudisc reads are racy. Move this 3bit field on a full byte, add annotations and make IPV6_MTU_DISCOVER 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>