mbox series

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

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

Message

Kuniyuki Iwashima July 13, 2022, 8:51 p.m. UTC
This series fixes data-races around 15 knobs after ip_default_ttl in
ipv4_net_table.

These two knobs are skipped.
  - ip_local_port_range is safe with its own lock.
  - ip_local_reserved_ports uses proc_do_large_bitmap(), which will need
    an additional lock and can be fixed later.

So, the next round will start with igmp_link_local_mcast_reports.


Kuniyuki Iwashima (15):
  ip: Fix data-races around sysctl_ip_default_ttl.
  ip: Fix data-races around sysctl_ip_no_pmtu_disc.
  ip: Fix data-races around sysctl_ip_fwd_use_pmtu.
  ip: Fix data-races around sysctl_ip_fwd_update_priority.
  ip: Fix data-races around sysctl_ip_nonlocal_bind.
  ip: Fix a data-race around sysctl_ip_autobind_reuse.
  ip: Fix a data-race around sysctl_fwmark_reflect.
  tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept.
  tcp: Fix data-races around sysctl_tcp_l3mdev_accept.
  tcp: Fix data-races around sysctl_tcp_mtu_probing.
  tcp: Fix data-races around sysctl_tcp_base_mss.
  tcp: Fix data-races around sysctl_tcp_min_snd_mss.
  tcp: Fix a data-race around sysctl_tcp_mtu_probe_floor.
  tcp: Fix a data-race around sysctl_tcp_probe_threshold.
  tcp: Fix a data-race around sysctl_tcp_probe_interval.

 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c |  3 ++-
 drivers/net/ethernet/netronome/nfp/flower/action.c    |  2 +-
 include/net/inet_hashtables.h                         |  2 +-
 include/net/inet_sock.h                               |  9 +++++----
 include/net/ip.h                                      |  4 ++--
 include/net/route.h                                   |  2 +-
 net/ipv4/af_inet.c                                    |  2 +-
 net/ipv4/icmp.c                                       |  2 +-
 net/ipv4/inet_connection_sock.c                       |  2 +-
 net/ipv4/ip_forward.c                                 |  2 +-
 net/ipv4/ip_sockglue.c                                |  2 +-
 net/ipv4/netfilter/nf_reject_ipv4.c                   |  4 ++--
 net/ipv4/proc.c                                       |  2 +-
 net/ipv4/route.c                                      |  2 +-
 net/ipv4/tcp_output.c                                 | 11 ++++++-----
 net/ipv4/tcp_timer.c                                  |  8 ++++----
 net/ipv6/af_inet6.c                                   |  2 +-
 net/netfilter/nf_synproxy_core.c                      |  2 +-
 net/sctp/protocol.c                                   |  2 +-
 net/xfrm/xfrm_state.c                                 |  2 +-
 20 files changed, 35 insertions(+), 32 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org July 15, 2022, 11 a.m. UTC | #1
Hello:

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

On Wed, 13 Jul 2022 13:51:50 -0700 you wrote:
> This series fixes data-races around 15 knobs after ip_default_ttl in
> ipv4_net_table.
> 
> These two knobs are skipped.
>   - ip_local_port_range is safe with its own lock.
>   - ip_local_reserved_ports uses proc_do_large_bitmap(), which will need
>     an additional lock and can be fixed later.
> 
> [...]

Here is the summary with links:
  - [v1,net,01/15] ip: Fix data-races around sysctl_ip_default_ttl.
    https://git.kernel.org/netdev/net/c/8281b7ec5c56
  - [v1,net,02/15] ip: Fix data-races around sysctl_ip_no_pmtu_disc.
    https://git.kernel.org/netdev/net/c/0968d2a441bf
  - [v1,net,03/15] ip: Fix data-races around sysctl_ip_fwd_use_pmtu.
    https://git.kernel.org/netdev/net/c/60c158dc7b1f
  - [v1,net,04/15] ip: Fix data-races around sysctl_ip_fwd_update_priority.
    https://git.kernel.org/netdev/net/c/7bf9e18d9a5e
  - [v1,net,05/15] ip: Fix data-races around sysctl_ip_nonlocal_bind.
    https://git.kernel.org/netdev/net/c/289d3b21fb0b
  - [v1,net,06/15] ip: Fix a data-race around sysctl_ip_autobind_reuse.
    https://git.kernel.org/netdev/net/c/0db232765887
  - [v1,net,07/15] ip: Fix a data-race around sysctl_fwmark_reflect.
    https://git.kernel.org/netdev/net/c/85d0b4dbd74b
  - [v1,net,08/15] tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept.
    https://git.kernel.org/netdev/net/c/1a0008f9df59
  - [v1,net,09/15] tcp: Fix data-races around sysctl_tcp_l3mdev_accept.
    https://git.kernel.org/netdev/net/c/08a75f106794
  - [v1,net,10/15] tcp: Fix data-races around sysctl_tcp_mtu_probing.
    https://git.kernel.org/netdev/net/c/f47d00e077e7
  - [v1,net,11/15] tcp: Fix data-races around sysctl_tcp_base_mss.
    https://git.kernel.org/netdev/net/c/88d78bc097cd
  - [v1,net,12/15] tcp: Fix data-races around sysctl_tcp_min_snd_mss.
    https://git.kernel.org/netdev/net/c/78eb166cdefc
  - [v1,net,13/15] tcp: Fix a data-race around sysctl_tcp_mtu_probe_floor.
    https://git.kernel.org/netdev/net/c/8e92d4423615
  - [v1,net,14/15] tcp: Fix a data-race around sysctl_tcp_probe_threshold.
    https://git.kernel.org/netdev/net/c/92c0aa417547
  - [v1,net,15/15] tcp: Fix a data-race around sysctl_tcp_probe_interval.
    https://git.kernel.org/netdev/net/c/2a85388f1d94

You are awesome, thank you!