mbox series

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

Message ID 20220712001533.89927-1-kuniyu@amazon.com (mailing list archive)
Headers show
Series sysctl: Fix data-races around ipv4_net_table (Round 1). | expand

Message

Kuniyuki Iwashima July 12, 2022, 12:15 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org July 13, 2022, 12:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 11 Jul 2022 17:15:18 -0700 you wrote:
> 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.
> 
> 
> [...]

Here is the summary with links:
  - [v1,net,01/15] sysctl: Fix data-races in proc_dou8vec_minmax().
    https://git.kernel.org/netdev/net/c/7dee5d7747a6
  - [v1,net,02/15] sysctl: Fix data-races in proc_dointvec_ms_jiffies().
    https://git.kernel.org/netdev/net/c/7d1025e55978
  - [v1,net,03/15] tcp: Fix a data-race around sysctl_max_tw_buckets.
    https://git.kernel.org/netdev/net/c/6f605b57f378
  - [v1,net,04/15] icmp: Fix a data-race around sysctl_icmp_echo_ignore_all.
    https://git.kernel.org/netdev/net/c/bb7bb35a63b4
  - [v1,net,05/15] icmp: Fix data-races around sysctl_icmp_echo_enable_probe.
    https://git.kernel.org/netdev/net/c/4a2f7083cc6c
  - [v1,net,06/15] icmp: Fix a data-race around sysctl_icmp_echo_ignore_broadcasts.
    https://git.kernel.org/netdev/net/c/66484bb98ed2
  - [v1,net,07/15] icmp: Fix a data-race around sysctl_icmp_ignore_bogus_error_responses.
    https://git.kernel.org/netdev/net/c/b04f9b7e85c7
  - [v1,net,08/15] icmp: Fix a data-race around sysctl_icmp_errors_use_inbound_ifaddr.
    https://git.kernel.org/netdev/net/c/d2efabce81db
  - [v1,net,09/15] icmp: Fix a data-race around sysctl_icmp_ratelimit.
    https://git.kernel.org/netdev/net/c/2a4eb714841f
  - [v1,net,10/15] icmp: Fix a data-race around sysctl_icmp_ratemask.
    https://git.kernel.org/netdev/net/c/1ebcb25ad6fc
  - [v1,net,11/15] raw: Fix a data-race around sysctl_raw_l3mdev_accept.
    https://git.kernel.org/netdev/net/c/1dace014928e
  - [v1,net,12/15] tcp: Fix data-races around sysctl_tcp_ecn.
    https://git.kernel.org/netdev/net/c/4785a66702f0
  - [v1,net,13/15] tcp: Fix a data-race around sysctl_tcp_ecn_fallback.
    https://git.kernel.org/netdev/net/c/12b8d9ca7e67
  - [v1,net,14/15] ipv4: Fix data-races around sysctl_ip_dynaddr.
    https://git.kernel.org/netdev/net/c/e49e4aff7ec1
  - [v1,net,15/15] nexthop: Fix data-races around nexthop_compat_mode.
    https://git.kernel.org/netdev/net/c/bdf00bf24bef

You are awesome, thank you!