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>
This commit is contained in:

committed by
David S. Miller

parent
d1a4c0b37c
commit
3dc43e3e4d
@@ -1672,6 +1672,8 @@ static int __init inet_init(void)
|
||||
ip_static_sysctl_init();
|
||||
#endif
|
||||
|
||||
tcp_prot.sysctl_mem = init_net.ipv4.sysctl_tcp_mem;
|
||||
|
||||
/*
|
||||
* Add all the base protocols.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user