diff options
author | 2022-07-11 17:15:23 -0700 | |
---|---|---|
committer | 2022-07-13 12:56:49 +0100 | |
commit | 4a2f7083cc6cb72dade9a63699ca352fad26d1cd (patch) | |
tree | 461085e182176e7c4d5385d68b309a3e91826c1d /include/net/raw.h | |
parent | icmp: Fix a data-race around sysctl_icmp_echo_ignore_all. (diff) | |
download | linux-rng-4a2f7083cc6cb72dade9a63699ca352fad26d1cd.tar.xz linux-rng-4a2f7083cc6cb72dade9a63699ca352fad26d1cd.zip |
icmp: Fix data-races around sysctl_icmp_echo_enable_probe.
While reading sysctl_icmp_echo_enable_probe, it can be changed
concurrently. Thus, we need to add READ_ONCE() to its readers.
Fixes: d329ea5bd884 ("icmp: add response to RFC 8335 PROBE messages")
Fixes: 1fd07f33c3ea ("ipv6: ICMPV6: add response to ICMPV6 RFC 8335 PROBE messages")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/raw.h')
0 files changed, 0 insertions, 0 deletions