diff options
| author | Yuyang Huang <sigefriedhyy@gmail.com> | 2026-05-22 12:39:06 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-25 21:08:59 +0300 |
| commit | 061c0aa740d5d3847cd600a74c66a165bee1fbe0 (patch) | |
| tree | cb9d45ee8d582d5f06cba77d06cb826bdf96ff28 /include | |
| parent | c0aa5f13826dcb035bec3d6b252e6b2020fa5f88 (diff) | |
| download | linux-061c0aa740d5d3847cd600a74c66a165bee1fbe0.tar.xz | |
ipv4: igmp: annotate data-races around im->users
/proc/net/igmp walks IPv4 multicast memberships under RCU and
prints im->users without holding RTNL, while multicast join and leave
paths update the field while holding RTNL. 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: Jiayuan Chen <jiayuan.chen@linux.dev>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260522093906.39764-1-sigefriedhyy@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
