Files
linux-stable-mirror/include/net
Kuniyuki Iwashima 9ba9cd43b5 tcp: Fix data-races around sysctl_tcp_l3mdev_accept.
[ Upstream commit 08a75f1067 ]

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

Fixes: 6dd9a14e92 ("net: Allow accepted sockets to be bound to l3mdev domain")
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:25:14 +02:00
..
2022-07-21 21:24:21 +02:00