Kuniyuki Iwashima 50a1d3d097 tcp: Fix data-races around sysctl_tcp_max_reordering.
[ Upstream commit a11e5b3e7a59fde1a90b0eaeaa82320495cf8cae ]

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

Fixes: dca145ffaa8d ("tcp: allow for bigger reordering level")
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:14:16 +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