diff options
author | Benjamin Thery <benjamin.thery@bull.net> | 2009-01-22 04:56:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-22 13:57:34 -0800 |
commit | cf958ae377ee2545ae70cf48d38e7eb4308c27ea (patch) | |
tree | f304ea66b789f4287968fcaa57831cd4fa8e2576 /include/net/netns | |
parent | 70a269e6c9c9b38b1a37dce068c59e9a912f8578 (diff) | |
download | linux-stable-cf958ae377ee2545ae70cf48d38e7eb4308c27ea.tar.gz linux-stable-cf958ae377ee2545ae70cf48d38e7eb4308c27ea.tar.bz2 linux-stable-cf958ae377ee2545ae70cf48d38e7eb4308c27ea.zip |
netns: ipmr: dynamically allocate vif_table
Preliminary work to make IPv6 multicast routing netns-aware.
Dynamically allocate interface table vif_table and move it to
struct netns_ipv4, and update MIF_EXISTS() macro.
At the moment, vif_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/net/netns')
-rw-r--r-- | include/net/netns/ipv4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index 4f00722c7478..edbcccbbc318 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -57,6 +57,8 @@ struct netns_ipv4 { #ifdef CONFIG_IP_MROUTE struct sock *mroute_sk; + struct vif_device *vif_table; + int maxvif; #endif }; #endif |