Skip to content

sysctl: Fix data-races around ipv4_net_table (Round 6, Final).

Kuniyuki Iwashima netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7tcp: Fix data-races around sk_pacing_rate.net/ipv4/tcp_input.c+2 -20 repliesApplied
2/7net: Fix data-races around sysctl_[rw]mem(_offset)?.include/net/sock.h net/decnet/af_decnet.c net/ipv4/tcp.c +4 more+21 -200 repliesApplied
3/7tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns.net/ipv4/tcp_input.c+2 -10 repliesApplied
4/7tcp: Fix a data-race around sysctl_tcp_comp_sack_slack_ns.net/ipv4/tcp_input.c+1 -10 repliesApplied
5/7tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.net/ipv4/tcp_input.c+1 -10 repliesApplied
6/7tcp: Fix data-races around sysctl_tcp_reflect_tos.net/ipv4/tcp_ipv4.c net/ipv6/tcp_ipv6.c+4 -41 replyApplied
7/7ipv4: Fix data-races around sysctl_fib_notify_on_flag_change.net/ipv4/fib_trie.c+5 -20 repliesApplied

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchWei Wang
1/7
2/7
3/7
4/7
5/7
6/7A-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 net 0/7] sysctl: Fix data-races around ipv4_net_table (Round 6, Final).

This series fixes data-races around 11 knobs after tcp_pacing_ss_ratio ipv4_net_table, and this is the final round for ipv4_net_table.

While at it, other data-races around these related knobs are fixed.

- decnet_mem
- decnet_rmem
- tipc_rmem

There are still 58 tables possibly missing some fixes under net/.

  $ grep -rnE "struct ctl_table.*?\[\] =" net/ | wc -l
  60

Kuniyuki Iwashima (7):
tcp: Fix data-races around sk_pacing_rate.
net: Fix data-races around sysctl_[rw]mem(_offset)?.
tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns.
tcp: Fix a data-race around sysctl_tcp_comp_sack_slack_ns.
tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.
tcp: Fix data-races around sysctl_tcp_reflect_tos.
ipv4: Fix data-races around sysctl_fib_notify_on_flag_change.

 include/net/sock.h     |  8 ++++----
 net/decnet/af_decnet.c |  4 ++--
 net/ipv4/fib_trie.c    |  7 +++++--
 net/ipv4/tcp.c         |  6 +++---
 net/ipv4/tcp_input.c   | 24 +++++++++++++-----------
 net/ipv4/tcp_ipv4.c    |  4 ++--
 net/ipv4/tcp_output.c  |  2 +-
 net/ipv6/tcp_ipv6.c    |  4 ++--
 net/mptcp/protocol.c   |  6 +++---
 net/tipc/socket.c      |  2 +-
 10 files changed, 36 insertions(+), 31 deletions(-)
Signature · 1 line
2.30.2