Skip to content

net: Namespace-ify sysctl_tcp_rmem and sysctl_tcp_wmem

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: allow per netns sysctl_rmem and sysctl_wmem for protosinclude/net/sock.h include/trace/events/sock.h net/core/sock.c+29 -50 replies
2/2tcp: Namespace-ify sysctl_tcp_rmem and sysctl_tcp_wmeminclude/net/netns/ipv4.h include/net/tcp.h net/ipv4/sysctl_net_ipv4.c +5 more+47 -430 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] net: Namespace-ify sysctl_tcp_rmem and sysctl_tcp_wmem

We need to get per netns sysctl for sysctl_[proto]_rmem and sysctl_[proto]_wmem

This patch series adds the basic infrastructure allowing per proto conversion, and takes care of TCP.

Eric Dumazet (2):
net: allow per netns sysctl_rmem and sysctl_wmem for protos
tcp: Namespace-ify sysctl_tcp_rmem and sysctl_tcp_wmem

 include/net/netns/ipv4.h    |  2 ++
 include/net/sock.h          | 22 ++++++++++++++++++++++
 include/net/tcp.h           |  2 --
 include/trace/events/sock.h |  2 +-
 net/core/sock.c             | 10 ++++++----
 net/ipv4/sysctl_net_ipv4.c  | 32 ++++++++++++++++----------------
 net/ipv4/tcp.c              | 21 ++++++++-------------
 net/ipv4/tcp_input.c        | 14 ++++++++------
 net/ipv4/tcp_ipv4.c         | 13 ++++++++++---
 net/ipv4/tcp_output.c       |  2 +-
 net/ipv6/tcp_ipv6.c         |  4 ++--
 11 files changed, 76 insertions(+), 48 deletions(-)
Signature · 1 line
2.15.0.403.gc27cc4dac6-goog