Kuniyuki Iwashima 5037ca9e4b tcp: Fix a data-race around sysctl_tcp_early_retrans.
[ Upstream commit 52e65865deb6a36718a463030500f16530eaab74 ]

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

Fixes: eed530b6c676 ("tcp: early retransmit")
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:22 +02:00
..
2022-03-11 12:22:36 +01:00
2021-06-29 11:28:21 -07:00
2022-07-12 16:35:08 +02:00
2022-07-07 17:53:25 +02:00
2021-07-29 15:06:49 +01:00
2021-07-29 15:06:49 +01:00