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(-)

-- 
2.15.0.403.gc27cc4dac6-goog

Reply via email to