diff options
author | Nikolay Borisov <kernel@kyup.com> | 2016-02-08 23:29:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-11 09:59:22 -0500 |
commit | 815c52700746cdcc0874a33390bac334a4b90107 (patch) | |
tree | e86fbed48c0f3aaa29532d979d4013945ae8b4b0 /net/ipv4/sysctl_net_ipv4.c | |
parent | 1e2a8868e0541b7d8870781b714d74ac7cad9a6a (diff) | |
download | linux-815c52700746cdcc0874a33390bac334a4b90107.tar.gz linux-815c52700746cdcc0874a33390bac334a4b90107.tar.bz2 linux-815c52700746cdcc0874a33390bac334a4b90107.zip |
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/sysctl_net_ipv4.c')
-rw-r--r-- | net/ipv4/sysctl_net_ipv4.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 44bb59824267..6ea3dbb96db4 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -368,13 +368,6 @@ static struct ctl_table ipv4_table[] = { .proc_handler = proc_dointvec }, { - .procname = "igmp_max_memberships", - .data = &sysctl_igmp_max_memberships, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = proc_dointvec - }, - { .procname = "igmp_max_msf", .data = &sysctl_igmp_max_msf, .maxlen = sizeof(int), @@ -872,6 +865,13 @@ static struct ctl_table ipv4_net_table[] = { .proc_handler = proc_dointvec }, { + .procname = "igmp_max_memberships", + .data = &init_net.ipv4.sysctl_igmp_max_memberships, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = proc_dointvec + }, + { .procname = "tcp_keepalive_time", .data = &init_net.ipv4.sysctl_tcp_keepalive_time, .maxlen = sizeof(int), |