diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-20 09:50:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-22 12:06:17 +0100 |
commit | 780476488844e070580bfc9e3bc7832ec1cea883 (patch) | |
tree | 1c5eccb931a4222e45ac290ef3c7334db3a0df50 /net/kcm | |
parent | ab1ba21b523ab496b1a4a8e396333b24b0a18f9a (diff) | |
download | linux-780476488844e070580bfc9e3bc7832ec1cea883.tar.bz2 |
tcp: Fix data-races around sysctl_tcp_moderate_rcvbuf.
While reading sysctl_tcp_moderate_rcvbuf, 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>
Diffstat (limited to 'net/kcm')
0 files changed, 0 insertions, 0 deletions