]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:20:29 +0000 (07:20 -0500)
commitb885585d2234cf4ac17fefc4b1a4d679a0fd8b6e
tree829f31ed2eb70c9953cdf77f811ed5649c2a7af3
parent4697272cf2fbdf010fd2eb01f4768765d9b7d895
ipv4: igmp: annotate data-races around idev->mr_maxdelay

[ Upstream commit e4faaf65a75f650ac4366ddff5dabb826029ca5a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/inetdevice.h
net/ipv4/igmp.c