]> git.ipfire.org Git - thirdparty/linux.git/commit
ipv6: annotate data-races around rt->fib6_nsiblings
authorEric Dumazet <edumazet@google.com>
Fri, 25 Jul 2025 14:07:25 +0000 (14:07 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 26 Jul 2025 18:31:00 +0000 (11:31 -0700)
commit31d7d67ba1274f42494256d52e86da80ed09f3cb
tree6564c6e8202b5862a1489970c96d56d777fc81db
parentf8d8ce1b515a0a6af72b30502670a406cfb75073
ipv6: annotate data-races around rt->fib6_nsiblings

rt->fib6_nsiblings can be read locklessly, add corresponding
READ_ONCE() and WRITE_ONCE() annotations.

Fixes: 66f5d6ce53e6 ("ipv6: replace rwlock with rcu and spinlock in fib6_table")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250725140725.3626540-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/ip6_fib.c
net/ipv6/route.c