]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'ipv6-mcast-annotate-data-races-in-proc-net-igmp6'
authorJakub Kicinski <kuba@kernel.org>
Sat, 13 Jun 2026 00:12:13 +0000 (17:12 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jun 2026 00:12:13 +0000 (17:12 -0700)
Yuyang Huang says:

====================
ipv6: mcast: annotate data races in /proc/net/igmp6

/proc/net/igmp6 walks IPv6 multicast memberships under RCU without
holding idev->mc_lock, taking a lockless snapshot of two fields that
writers update under the lock: mca_flags and mca_work.timer.expires.

Patch 1 adds WRITE_ONCE() to all mca_flags update sites and READ_ONCE()
to the procfs reader.  Patch 2 does the same for the timer.expires read
in the procfs path.
====================

Link: https://patch.msgid.link/20260609081113.7613-1-sigefriedhyy@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge