summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-02-08 23:29:21 +0200
committerDavid S. Miller <davem@davemloft.net>2016-02-11 09:59:22 -0500
commit815c52700746cdcc0874a33390bac334a4b90107 (patch)
treee86fbed48c0f3aaa29532d979d4013945ae8b4b0 /include
parent1e2a8868e0541b7d8870781b714d74ac7cad9a6a (diff)
downloadop-kernel-dev-815c52700746cdcc0874a33390bac334a4b90107.zip
op-kernel-dev-815c52700746cdcc0874a33390bac334a4b90107.tar.gz
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 'include')
-rw-r--r--include/linux/igmp.h1
-rw-r--r--include/net/netns/ipv4.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/igmp.h b/include/linux/igmp.h
index 9c9de11..57d6d06 100644
--- a/include/linux/igmp.h
+++ b/include/linux/igmp.h
@@ -38,7 +38,6 @@ static inline struct igmpv3_query *
}
extern int sysctl_igmp_llm_reports;
-extern int sysctl_igmp_max_memberships;
extern int sysctl_igmp_max_msf;
extern int sysctl_igmp_qrv;
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index 4d6ec3f..759cf62 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -108,6 +108,8 @@ struct netns_ipv4 {
int sysctl_tcp_fin_timeout;
unsigned int sysctl_tcp_notsent_lowat;
+ int sysctl_igmp_max_memberships;
+
struct ping_group_range ping_group_range;
atomic_t dev_addr_genid;
OpenPOWER on IntegriCloud