Files
linux/net/ipv4
Yuyang Huang 3289d17b7a ipv4: igmp: annotate data-races around timer-related fields
/proc/net/igmp walks the multicast list locklessly under RCU and reads
timer-related fields (im->tm_running, im->reporter, im->timer.expires)
to print the timer state of multicast memberships. Concurrently, these
fields are modified under im->lock spinlock in timer management paths
(igmp_stop_timer(), igmp_start_timer(), and igmp_timer_expire()). Fix this
intentional lockless snapshot by annotating the lockless reads with
READ_ONCE() and the updates with WRITE_ONCE().

Signed-off-by: Yuyang Huang <yuyanghuang@google.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260605014318.3890804-3-yuyanghuang@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-06-09 13:19:33 +02:00
..
2026-04-12 12:33:33 -07:00
2026-04-12 12:33:33 -07:00
2025-07-08 13:28:27 +02:00
2026-04-30 09:38:56 +02:00
2026-03-13 18:57:44 -07:00
2026-03-13 18:57:44 -07:00