diff options
author | Kuniyuki Iwashima | 2022-07-06 16:40:02 -0700 |
---|---|---|
committer | David S. Miller | 2022-07-08 12:10:34 +0100 |
commit | 48d7ee321ea5182c6a70782aa186422a70e67e22 (patch) | |
tree | 00ac31005a3bd8dd7c3cb04c2e909c927967ee1c /lib/genalloc.c | |
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 <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions