mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
Merge branch 'ipv6-mcast-annotate-data-races-in-proc-net-igmp6'
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>
This commit is contained in:
commit
571e371357
1 changed files with 34 additions and 21 deletions
Loading…
Add table
Add a link
Reference in a new issue