aboutsummaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2022-07-06 16:40:02 -0700
committerDavid S. Miller <[email protected]>2022-07-08 12:10:34 +0100
commit48d7ee321ea5182c6a70782aa186422a70e67e22 (patch)
tree00ac31005a3bd8dd7c3cb04c2e909c927967ee1c /tools/perf
parentdd44f04b9214adb68ef5684ae87a81ba03632250 (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 'tools/perf')
0 files changed, 0 insertions, 0 deletions