diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-18 20:26:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-20 12:14:49 +0300 |
commit | 87507bcb4f5de16bb419e9509d874f4db6c0ad0f (patch) | |
tree | ba1da190ab8cfb9dde5bcdc80d4b0eaea50b4ad5 /drivers | |
parent | ef5621758a02fe8178de9d0df414ffb79463ff86 (diff) | |
download | linux-87507bcb4f5de16bb419e9509d874f4db6c0ad0f.tar.xz |
ipv4: Fix a data-race around sysctl_fib_multipath_use_neigh.
While reading sysctl_fib_multipath_use_neigh, it can be changed
concurrently. Thus, we need to add READ_ONCE() to its reader.
Fixes: a6db4494d218 ("net: ipv4: Consider failed nexthops in multipath routes")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions