Kuniyuki Iwashima 8499a2454d tcp: Fix a data-race around sysctl_tcp_nometrics_save.
While reading sysctl_tcp_nometrics_save, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.

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-22 12:06:17 +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