diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-11 17:15:32 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-22 10:21:40 +0200 |
commit | f5042c5357ce931f1666faf6b26b27d12cbcc633 (patch) | |
tree | 7a3b6ec28d3f2953105d1d45771bea8689a3f3c1 /net/ipv4/tcp_timer.c | |
parent | 1ec3d6c2626ee6e1b36b7bd006873a271406ba61 (diff) | |
download | linux-stable-f5042c5357ce931f1666faf6b26b27d12cbcc633.tar.gz |
ipv4: Fix data-races around sysctl_ip_dynaddr.
[ Upstream commit e49e4aff7ec19b2d0d0957ee30e93dade57dab9e ]
While reading sysctl_ip_dynaddr, 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions