netns: ipmr: declare reg_vif_num per-namespace
authorBenjamin Thery <benjamin.thery@bull.net>
Thu, 22 Jan 2009 04:56:21 +0000 (04:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jan 2009 21:57:40 +0000 (13:57 -0800)
commit6c5143dbcfe50ac722965dc7d096abbeeec8bb33
treeb9a78f7a700ec6a82ed05cd46e65f7c9ba2cbf60
parent6f9374a9342e896c68df7cf7c0b039ab5cca994c
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>
include/net/netns/ipv4.h
net/ipv4/ipmr.c