commit | 58ebb1c8b35a8ef38cd6927431e0fa7b173a632d | [log] [tgz] |
---|---|---|
author | Kuniyuki Iwashima <kuniyu@amazon.com> | Wed Jul 20 09:50:12 2022 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 22 12:06:17 2022 +0100 |
tree | 479c30127582dd1d9bc12c59874804aec0d6eef1 | |
parent | ebbbe23fdf6070e31509638df3321688358cc211 [diff] |
tcp: Fix data-races around sysctl_tcp_dsack. While reading sysctl_tcp_dsack, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>