summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorYuyang Huang <sigefriedhyy@gmail.com>2026-05-24 11:24:56 +0900
committerJakub Kicinski <kuba@kernel.org>2026-05-27 17:01:56 -0700
commit56ed77ff6022271e172f043b44193889226e42b0 (patch)
treedb0ece1078d55330138a8e84f8c92f0b090a8a80 /tools/lib/python
parentf289c0664f64578355d10a85a6e0108fd182043c (diff)
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 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions