diff options
| author | 2026-05-22 18:39:06 +0900 | |
|---|---|---|
| committer | 2026-05-25 11:08:59 -0700 | |
| commit | 061c0aa740d5d3847cd600a74c66a165bee1fbe0 (patch) | |
| tree | cb9d45ee8d582d5f06cba77d06cb826bdf96ff28 /scripts/Makefile.thinlto | |
| parent | Merge branch 'net-dsa-microchip-remove-unnecessary-ksz_dev_ops-callbacks' (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
