netns: ip6mr: declare reg_vif_num per-namespace
authorBenjamin Thery <benjamin.thery@bull.net>
Thu, 11 Dec 2008 00:29:24 +0000 (16:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Dec 2008 00:29:24 +0000 (16:29 -0800)
commit950d5704e5daa1f90bcd75b99163491e7b249169
treec46302160f4364dfc6e66c73c0c9910a9329810a
parenta21f3f997c73ced682129aedd372bb6b53041510
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>
include/net/netns/ipv6.h
net/ipv6/ip6mr.c