summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYuyang Huang <sigefriedhyy@gmail.com>2026-05-24 05:24:56 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-28 03:01:56 +0300
commit56ed77ff6022271e172f043b44193889226e42b0 (patch)
treedb0ece1078d55330138a8e84f8c92f0b090a8a80 /include
parentf289c0664f64578355d10a85a6e0108fd182043c (diff)
downloadlinux-56ed77ff6022271e172f043b44193889226e42b0.tar.xz
ipv6: mcast: annotate data-races around mca_users
/proc/net/igmp6 walks IPv6 multicast memberships under RCU and prints mca_users without holding idev->mc_lock, while multicast join and leave paths update the field while holding idev->mc_lock. Annotate this intentional lockless snapshot with READ_ONCE() and the matching writers with WRITE_ONCE(). Signed-off-by: Yuyang Huang <sigefriedhyy@gmail.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20260524022456.20689-1-sigefriedhyy@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions