]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv6/ip6mr.c
netns: ip6mr: dynamically allocates vif6_table
authorBenjamin Thery <benjamin.thery@bull.net>
Thu, 11 Dec 2008 00:15:08 +0000 (16:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Dec 2008 00:15:08 +0000 (16:15 -0800)
commit4e16880cb4225bfa68878ad5b2a9ded53657d054
tree6a8c15e47fe33edede4c4bd79c05dabc5ca2f79c
parentbd91b8bf372911c1e4d66d6bb44fe409349a6791
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>
include/net/netns/ipv6.h
net/ipv6/ip6mr.c