From: Eric Dumazet Subject: [PATCH net-next 0/2] net: Namespace-ify sysctl_tcp_rmem and sysctl_tcp_wmem Date: Tue, 7 Nov 2017 00:29:26 -0800 Message-ID: <20171107082928.22950-1-edumazet@google.com> Cc: netdev , Eric Dumazet , Eric Dumazet , Wei Wang To: "David S . Miller" Return-path: Received: from mail-it0-f67.google.com ([209.85.214.67]:44965 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752119AbdKGI3i (ORCPT ); Tue, 7 Nov 2017 03:29:38 -0500 Received: by mail-it0-f67.google.com with SMTP id n195so5873891itg.1 for ; Tue, 07 Nov 2017 00:29:37 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 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