]> git.baikalelectronics.ru Git - kernel.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)
commit199e548514deee2819b076dcca090e6eee65b735
tree68354249261e8de8d367bfc21bb2969ecb9053d6
parentd1fc960ef8239c05cf08f681f621eb3031ec12cf
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