diff options
author | Benjamin Thery <benjamin.thery@bull.net> | 2009-01-21 23:56:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-22 16:57:40 -0500 |
commit | 6c5143dbcfe50ac722965dc7d096abbeeec8bb33 (patch) | |
tree | b9a78f7a700ec6a82ed05cd46e65f7c9ba2cbf60 /include/net/netns | |
parent | 6f9374a9342e896c68df7cf7c0b039ab5cca994c (diff) |
netns: ipmr: declare reg_vif_num per-namespace
Preliminary work to make IPv4 multicast routing netns-aware.
Declare variable 'reg_vif_num' per-namespace, move into struct netns_ipv4.
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/netns')
-rw-r--r-- | include/net/netns/ipv4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index 8451722782bb..2eb3814d6258 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h | |||
@@ -63,6 +63,9 @@ struct netns_ipv4 { | |||
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 | #if defined(CONFIG_IP_PIMSM_V1) || defined(CONFIG_IP_PIMSM_V2) | ||
67 | int mroute_reg_vif_num; | ||
68 | #endif | ||
66 | #endif | 69 | #endif |
67 | }; | 70 | }; |
68 | #endif | 71 | #endif |