]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: annotate data-races from ip6_make_flowlabel()
authorEric Dumazet <edumazet@google.com>
Thu, 15 Jan 2026 09:41:35 +0000 (09:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 19 Jan 2026 17:56:42 +0000 (09:56 -0800)
commitded139b59b5df3c8dbeb2d63685efdc715fc4434
tree9577afba3b6df05d888fee3df2e147d0da3229df
parente82a347d92d14260d1e2cf121a25e0458b1abbf7
ipv6: annotate data-races from ip6_make_flowlabel()

Use READ_ONCE() to read sysctl values in ip6_make_flowlabel()
and ip6_make_flowlabel()

Add a const qualifier to 'struct net' parameters.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260115094141.3124990-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/ipv6.h