]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv6: mcast: annotate data-race around psf->sf_count[MCAST_XXX]
authorEric Dumazet <edumazet@google.com>
Tue, 10 Dec 2024 18:33:52 +0000 (18:33 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Dec 2024 04:15:29 +0000 (20:15 -0800)
commit00bf2032e97691c4b53427b33a85b134324e2a94
treedc5eb41c54a512406bb12356746bc22686c13ed4
parent626962911ad886f2b8e6d6f612289f9c7268b435
ipv6: mcast: annotate data-race around psf->sf_count[MCAST_XXX]

psf->sf_count[MCAST_XXX] fields are read locklessly from
ipv6_chk_mcast_addr() and igmp6_mcf_seq_show().

Add READ_ONCE() and WRITE_ONCE() annotations accordingly.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20241210183352.86530-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/mcast.c