]> asedeno.scripts.mit.edu Git - linux.git/commit
tcp: Namespace-ify sysctl_tcp_rmem and sysctl_tcp_wmem
authorEric Dumazet <edumazet@google.com>
Tue, 7 Nov 2017 08:29:28 +0000 (00:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Nov 2017 05:34:58 +0000 (14:34 +0900)
commit356d1833b638bd465672aefeb71def3ab93fc17d
tree68354249261e8de8d367bfc21bb2969ecb9053d6
parenta3dcaf17ee54f1d01d22cc2b22cab0b4f60d78cf
tcp: Namespace-ify sysctl_tcp_rmem and sysctl_tcp_wmem

Note that when a new netns is created, it inherits its
sysctl_tcp_rmem and sysctl_tcp_wmem from initial netns.

This change is needed so that we can refine TCP rcvbuf autotuning,
to take RTT into consideration.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Wei Wang <weiwan@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv4.h
include/net/tcp.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_output.c
net/ipv6/tcp_ipv6.c