diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-07 02:40:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-08 14:10:34 +0300 |
commit | 48d7ee321ea5182c6a70782aa186422a70e67e22 (patch) | |
tree | 00ac31005a3bd8dd7c3cb04c2e909c927967ee1c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dd44f04b9214adb68ef5684ae87a81ba03632250 (diff) | |
download | linux-48d7ee321ea5182c6a70782aa186422a70e67e22.tar.xz |
icmp: Fix data-races around sysctl.
While reading icmp sysctl variables, they can be changed concurrently.
So, we need to add READ_ONCE() to avoid data-races.
Fixes: 4cdf507d5452 ("icmp: add a global rate limitation")
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