]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit381060b78f8564331a0b8bb2a9454ed424f615ed
treec46302160f4364dfc6e66c73c0c9910a9329810a
parent73e5ef2c8da7d36640e92456c1e13bf77fba7d2d
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