diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-18 20:26:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-20 12:14:49 +0300 |
commit | 7998c12a08c97cc26660532c9f90a34bd7d8da5a (patch) | |
tree | 01ca6251b1d6dbba4235c77a72c5b453bf0ccab5 /net/nsh | |
parent | 87507bcb4f5de16bb419e9509d874f4db6c0ad0f (diff) | |
download | linux-7998c12a08c97cc26660532c9f90a34bd7d8da5a.tar.xz |
ipv4: Fix data-races around sysctl_fib_multipath_hash_policy.
While reading sysctl_fib_multipath_hash_policy, it can be changed
concurrently. Thus, we need to add READ_ONCE() to its readers.
Fixes: bf4e0a3db97e ("net: ipv4: add support for ECMP hash policy choice")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nsh')
0 files changed, 0 insertions, 0 deletions