diff options
author | Benjamin Thery <benjamin.thery@bull.net> | 2008-12-10 19:29:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-10 19:29:24 -0500 |
commit | 950d5704e5daa1f90bcd75b99163491e7b249169 (patch) | |
tree | c46302160f4364dfc6e66c73c0c9910a9329810a /include/net | |
parent | a21f3f997c73ced682129aedd372bb6b53041510 (diff) |
netns: ip6mr: declare reg_vif_num per-namespace
Preliminary work to make IPv6 multicast forwarding netns-aware.
Declare variable 'reg_vif_num' per-namespace, moves into struct netns_ipv6.
At the moment, this variable 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/net')
-rw-r--r-- | include/net/netns/ipv6.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h index 919cb0f20055..afab4e4cbac7 100644 --- a/include/net/netns/ipv6.h +++ b/include/net/netns/ipv6.h | |||
@@ -63,6 +63,9 @@ struct netns_ipv6 { | |||
63 | atomic_t cache_resolve_queue_len; | 63 | atomic_t cache_resolve_queue_len; |
64 | int mroute_do_assert; | 64 | int mroute_do_assert; |
65 | int mroute_do_pim; | 65 | int mroute_do_pim; |
66 | #ifdef CONFIG_IPV6_PIMSM_V2 | ||
67 | int mroute_reg_vif_num; | ||
68 | #endif | ||
66 | #endif | 69 | #endif |
67 | }; | 70 | }; |
68 | #endif | 71 | #endif |