diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-07 02:39:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-08 14:10:33 +0300 |
commit | 3d32edf1f3c38d3301f6434e56316f293466d7fb (patch) | |
tree | 5666bc6903b3208d7af103c64fb4dcfd33d1e548 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 47e6ab24e8c6e3ca10ceb5835413f401f90de4bf (diff) | |
download | linux-3d32edf1f3c38d3301f6434e56316f293466d7fb.tar.xz |
inetpeer: Fix data-races around sysctl.
While reading inetpeer sysctl variables, they can be changed
concurrently. So, we need to add READ_ONCE() to avoid data-races.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions