diff options
| author | Yuyang Huang <sigefriedhyy@gmail.com> | 2026-05-24 05:24:56 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-28 03:01:56 +0300 |
| commit | 56ed77ff6022271e172f043b44193889226e42b0 (patch) | |
| tree | db0ece1078d55330138a8e84f8c92f0b090a8a80 /include | |
| parent | f289c0664f64578355d10a85a6e0108fd182043c (diff) | |
| download | linux-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
