Kuniyuki Iwashima 3666f666e9 tcp: Fix data-races around sysctl knobs related to SYN option.
While reading these knobs, they can be changed concurrently.
Thus, we need to add READ_ONCE() to their readers.

  - tcp_sack
  - tcp_window_scaling
  - tcp_timestamps

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-20 10:14:49 +01:00
..
2022-07-12 12:58:53 +02:00
2022-05-25 12:22:58 -07:00
2022-07-12 12:58:53 +02:00
2022-04-12 14:56:33 -07:00
2021-05-17 15:29:35 -07:00
2021-10-13 09:41:37 -07:00
2021-06-30 15:51:09 -07:00
2021-10-13 09:41:37 -07:00
2022-04-30 15:12:58 +01:00
2022-04-12 14:56:33 -07:00
2021-05-17 15:29:35 -07:00
2021-05-17 15:29:35 -07:00
2022-05-16 10:31:06 +01:00
2021-05-17 15:29:35 -07:00