Kuniyuki Iwashima 46462e26e6 tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.
[ Upstream commit 79f55473bfc8ac51bd6572929a679eeb4da22251 ]

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

Fixes: 9c21d2fc41c0 ("tcp: add tcp_comp_sack_nr sysctl")
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:40 +02:00
..
2019-05-21 12:33:38 -07:00
2021-12-08 09:01:09 +01:00
2020-01-29 16:45:22 +01:00
2019-05-28 21:37:30 -07:00
2022-05-18 09:47:28 +02:00
2022-02-01 17:24:39 +01:00