commit | 0968d2a441bf6afb551fd99e60fa65ed67068963 | [log] [tgz] |
---|---|---|
author | Kuniyuki Iwashima <kuniyu@amazon.com> | Wed Jul 13 13:51:52 2022 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 15 11:49:55 2022 +0100 |
tree | 94b301f59fbd5390e80493ce1845272c0e644c0e | |
parent | 8281b7ec5c56b71cb2cc5a1728b41607be66959c [diff] |
ip: Fix data-races around sysctl_ip_no_pmtu_disc. While reading sysctl_ip_no_pmtu_disc, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>