]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv4: igmp: annotate data-races around idev->mr_maxdelay
authorEric Dumazet <edumazet@google.com>
Thu, 22 Jan 2026 17:22:47 +0000 (17:22 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sun, 25 Jan 2026 22:45:14 +0000 (14:45 -0800)
commite4faaf65a75f650ac4366ddff5dabb826029ca5a
treeb4074444ef0b31d8edae1ef2e7fa1a48f6154eb5
parent0541302227817d1abb16b3aa7d968ce574272724
ipv4: igmp: annotate data-races around idev->mr_maxdelay

idev->mr_maxdelay is read and written locklessly,
add READ_ONCE()/WRITE_ONCE() annotations.

While we are at it, make this field an u32.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20260122172247.2429403-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/inetdevice.h
net/ipv4/igmp.c