]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdac1917baa8a566b527b48ad5420bbe2f2c4d436
treeb9a78f7a700ec6a82ed05cd46e65f7c9ba2cbf60
parente5c582db2661e6d3044bbdc8db05f6a8847bc152
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