ipv6: annotate data-races in rt6_probe()
authorEric Dumazet <edumazet@google.com>
Wed, 28 Feb 2024 13:54:33 +0000 (13:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 08:42:32 +0000 (08:42 +0000)
commite248948a4471c6efca19f7c5e657b30ee67a6485
treefcd4e8cc65816770766a5e569f3edbf6e7e8f678
parentfca34cc075996767fbbdb6252be9ddd21c34c920
ipv6: annotate data-races in rt6_probe()

Use READ_ONCE() while reading idev->cnf.rtr_probe_interval
while its value could be changed.

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