[PATCH v1 net 00/15] sysctl: Fix data-races around ipv4_net_table (Round 1).

From: Kuniyuki Iwashima
Date: Mon Jul 11 2022 - 20:17:59 EST


This series fixes data-races around the first 13 knobs and
nexthop_compat_mode in ipv4_net_table.

I will post another patch for three early_demux knobs later,
so the next round will start from ip_default_ttl.


Kuniyuki Iwashima (15):
sysctl: Fix data-races in proc_dou8vec_minmax().
sysctl: Fix data-races in proc_dointvec_ms_jiffies().
tcp: Fix a data-race around sysctl_max_tw_buckets.
icmp: Fix a data-race around sysctl_icmp_echo_ignore_all.
icmp: Fix data-races around sysctl_icmp_echo_enable_probe.
icmp: Fix a data-race around sysctl_icmp_echo_ignore_broadcasts.
icmp: Fix a data-race around sysctl_icmp_ignore_bogus_error_responses.
icmp: Fix a data-race around sysctl_icmp_errors_use_inbound_ifaddr.
icmp: Fix a data-race around sysctl_icmp_ratelimit.
icmp: Fix a data-race around sysctl_icmp_ratemask.
raw: Fix a data-race around sysctl_raw_l3mdev_accept.
tcp: Fix data-races around sysctl_tcp_ecn.
tcp: Fix a data-race around sysctl_tcp_ecn_fallback.
ipv4: Fix data-races around sysctl_ip_dynaddr.
nexthop: Fix data-races around nexthop_compat_mode.

Documentation/networking/ip-sysctl.rst | 2 +-
.../chelsio/inline_crypto/chtls/chtls_cm.c | 2 +-
include/net/raw.h | 2 +-
kernel/sysctl.c | 12 ++++++------
net/ipv4/af_inet.c | 4 ++--
net/ipv4/fib_semantics.c | 2 +-
net/ipv4/icmp.c | 15 ++++++++-------
net/ipv4/inet_timewait_sock.c | 3 ++-
net/ipv4/nexthop.c | 5 +++--
net/ipv4/syncookies.c | 2 +-
net/ipv4/sysctl_net_ipv4.c | 12 ++++++++++++
net/ipv4/tcp_input.c | 2 +-
net/ipv4/tcp_output.c | 4 ++--
net/ipv6/icmp.c | 2 +-
net/ipv6/route.c | 2 +-
15 files changed, 43 insertions(+), 28 deletions(-)

--
2.30.2