Kuniyuki Iwashima 5d235c2fc2 tcp: Fix a data-race around sysctl_tcp_autocorking.
[ Upstream commit 85225e6f0a76e6745bc841c9f25169c509b573d8 ]

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

Fixes: f54b311142a9 ("tcp: auto corking")
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-08-03 11:59:39 +02:00
..
2022-03-11 11:22:39 +01:00
2022-04-20 09:19:40 +02:00
2019-09-26 08:56:17 +02:00
2019-12-04 22:30:54 +01:00
2022-07-07 17:36:48 +02:00
2021-06-18 09:59:00 +02:00