summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYuyang Huang <sigefriedhyy@gmail.com>2026-05-22 12:39:06 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-25 21:08:59 +0300
commit061c0aa740d5d3847cd600a74c66a165bee1fbe0 (patch)
treecb9d45ee8d582d5f06cba77d06cb826bdf96ff28 /include
parentc0aa5f13826dcb035bec3d6b252e6b2020fa5f88 (diff)
downloadlinux-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