per-netns ipv4 sysctl_tcp_mem
authorGlauber Costa <glommer@parallels.com>
Sun, 11 Dec 2011 21:47:05 +0000 (21:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Dec 2011 00:04:11 +0000 (19:04 -0500)
commit3dc43e3e4d0b52197d3205214fe8f162f9e0c334
tree1770affeb483a6b4f06cde9f2a2f1289b41496d6
parentd1a4c0b37c296e600ffe08edb0db2dc1b8f550d7
per-netns ipv4 sysctl_tcp_mem

This patch allows each namespace to independently set up
its levels for tcp memory pressure thresholds. This patch
alone does not buy much: we need to make this values
per group of process somehow. This is achieved in the
patches that follows in this patchset.

Signed-off-by: Glauber Costa <glommer@parallels.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
CC: David S. Miller <davem@davemloft.net>
CC: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv4.h
include/net/tcp.h
net/ipv4/af_inet.c
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_memcontrol.c
net/ipv6/af_inet6.c
net/ipv6/tcp_ipv6.c