summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-02-09 00:29:21 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-11 17:59:22 +0300
commit815c52700746cdcc0874a33390bac334a4b90107 (patch)
treee86fbed48c0f3aaa29532d979d4013945ae8b4b0 /net/ipv4/tcp_ipv4.c
parent1e2a8868e0541b7d8870781b714d74ac7cad9a6a (diff)
downloadlinux-815c52700746cdcc0874a33390bac334a4b90107.tar.xz
igmp: Namespaceify igmp_max_memberships sysctl knob
Signed-off-by: Nikolay Borisov <kernel@kyup.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 3f872a6bc274..4b203789900b 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -2399,6 +2399,8 @@ static int __net_init tcp_sk_init(struct net *net)
net->ipv4.sysctl_tcp_fin_timeout = TCP_FIN_TIMEOUT;
net->ipv4.sysctl_tcp_notsent_lowat = UINT_MAX;
+ net->ipv4.sysctl_igmp_max_memberships = 20;
+
return 0;
fail:
tcp_sk_exit(net);