summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/faraday
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-12 03:15:33 +0300
committerDavid S. Miller <davem@davemloft.net>2022-07-13 14:56:50 +0300
commitbdf00bf24bef9be1ca641a6390fd5487873e0d2e (patch)
treea571db15de0e5ac08997aab9705356eff39685b6 /drivers/net/ethernet/faraday
parente49e4aff7ec19b2d0d0957ee30e93dade57dab9e (diff)
downloadlinux-bdf00bf24bef9be1ca641a6390fd5487873e0d2e.tar.xz
nexthop: Fix data-races around nexthop_compat_mode.
While reading nexthop_compat_mode, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: 4f80116d3df3 ("net: ipv4: add sysctl for nexthop api compatibility mode") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/faraday')
0 files changed, 0 insertions, 0 deletions