]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipv6: annotate data-races around cnf.mtu6
authorEric Dumazet <edumazet@google.com>
Wed, 28 Feb 2024 13:54:28 +0000 (13:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 08:42:31 +0000 (08:42 +0000)
commite7135f484994494a38071e3653a83d21d305f50c
tree734c791bf55fa4646d61929ada3684bc5de0791f
parent553ced03b227c99f0bf68d86f7b45ed7125563f2
ipv6: annotate data-races around cnf.mtu6

idev->cnf.mtu6 might be read locklessly, add appropriate READ_ONCE()
and WRITE_ONCE() annotations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_route.h
net/ipv6/addrconf.c
net/ipv6/ndisc.c
net/ipv6/route.c