diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-07-06 16:40:02 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-07-08 12:10:34 +0100 |
| commit | 48d7ee321ea5182c6a70782aa186422a70e67e22 (patch) | |
| tree | 00ac31005a3bd8dd7c3cb04c2e909c927967ee1c /scripts/clang-tools/gen_compile_commands.py | |
| parent | dd44f04b9214adb68ef5684ae87a81ba03632250 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions