diff options
author | 2022-07-11 17:15:33 -0700 | |
---|---|---|
committer | 2022-07-13 12:56:50 +0100 | |
commit | bdf00bf24bef9be1ca641a6390fd5487873e0d2e (patch) | |
tree | a571db15de0e5ac08997aab9705356eff39685b6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ipv4: Fix data-races around sysctl_ip_dynaddr. (diff) | |
download | linux-dev-bdf00bf24bef9be1ca641a6390fd5487873e0d2e.tar.xz linux-dev-bdf00bf24bef9be1ca641a6390fd5487873e0d2e.zip |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions