aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenjamin Thery <benjamin.thery@bull.net>2008-12-10 19:15:08 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-10 19:15:08 -0500
commit4e16880cb4225bfa68878ad5b2a9ded53657d054 (patch)
tree6a8c15e47fe33edede4c4bd79c05dabc5ca2f79c /include
parentbd91b8bf372911c1e4d66d6bb44fe409349a6791 (diff)
netns: ip6mr: dynamically allocates vif6_table
Preliminary work to make IPv6 multicast forwarding netns-aware. Dynamically allocates interface table vif6_table and moves it to struct netns_ipv6, and updates MIF_EXISTS() macro. At the moment, vif6_table is only referenced in init_net. Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/netns/ipv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h
index 8a0a67d073b3..4ab0cb01a7a5 100644
--- a/include/net/netns/ipv6.h
+++ b/include/net/netns/ipv6.h
@@ -57,6 +57,8 @@ struct netns_ipv6 {
57 struct sock *igmp_sk; 57 struct sock *igmp_sk;
58#ifdef CONFIG_IPV6_MROUTE 58#ifdef CONFIG_IPV6_MROUTE
59 struct sock *mroute6_sk; 59 struct sock *mroute6_sk;
60 struct mif_device *vif6_table;
61 int maxvif;
60#endif 62#endif
61}; 63};
62#endif 64#endif