diff options
author | Benjamin Thery <benjamin.thery@bull.net> | 2008-12-10 19:28:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-10 19:28:44 -0500 |
commit | a21f3f997c73ced682129aedd372bb6b53041510 (patch) | |
tree | f236a2ef74036df4929f99350316096c6603a3ae /include | |
parent | 4045e57c19bee150370390545ee8a933b3f7a18d (diff) |
netns: ip6mr: declare mroute_do_assert and mroute_do_pim per-namespace
Preliminary work to make IPv6 multicast forwarding netns-aware.
Declare IPv6 multicast forwarding variables 'mroute_do_assert' and
'mroute_do_pim' per-namespace in struct netns_ipv6.
At the moment, these variables are 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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h index 30572f3f9781..919cb0f20055 100644 --- a/include/net/netns/ipv6.h +++ b/include/net/netns/ipv6.h | |||
@@ -61,6 +61,8 @@ struct netns_ipv6 { | |||
61 | struct mif_device *vif6_table; | 61 | struct mif_device *vif6_table; |
62 | int maxvif; | 62 | int maxvif; |
63 | atomic_t cache_resolve_queue_len; | 63 | atomic_t cache_resolve_queue_len; |
64 | int mroute_do_assert; | ||
65 | int mroute_do_pim; | ||
64 | #endif | 66 | #endif |
65 | }; | 67 | }; |
66 | #endif | 68 | #endif |