diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-12 03:15:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-13 14:56:49 +0300 |
commit | e49e4aff7ec19b2d0d0957ee30e93dade57dab9e (patch) | |
tree | 785272660edb9c5102c6b8a77ba9fd738b870e35 /net/ipv4/fib_semantics.c | |
parent | 12b8d9ca7e678abc48195294494f1815b555d658 (diff) | |
download | linux-e49e4aff7ec19b2d0d0957ee30e93dade57dab9e.tar.xz |
ipv4: Fix data-races around sysctl_ip_dynaddr.
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>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions