diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-11 17:15:33 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-13 12:56:50 +0100 |
commit | bdf00bf24bef9be1ca641a6390fd5487873e0d2e (patch) | |
tree | a571db15de0e5ac08997aab9705356eff39685b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e49e4aff7ec19b2d0d0957ee30e93dade57dab9e (diff) | |
download | linux-bdf00bf24bef9be1ca641a6390fd5487873e0d2e.tar.bz2 |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions