Files
linux-stable-mirror/include/net
Kuniyuki IwashimaandGreg Kroah-Hartman fcaef69c79 udp: Fix a data-race around sysctl_udp_l3mdev_accept.
[ Upstream commit 3d72bb4188 ]

While reading sysctl_udp_l3mdev_accept, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.

Fixes: 63a6fff353 ("net: Avoid receiving packets with an l3mdev on unbound UDP sockets")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-07-29 17:19:21 +02:00
..
2021-06-10 13:39:24 +02:00
2022-01-05 12:40:30 +01:00
2021-08-04 12:46:43 +02:00
2022-07-21 21:20:07 +02:00