]> git.baikalelectronics.ru Git - kernel.git/commit
[IP6TUNNEL]: Make the fallback tunnel device per-net.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 08:23:02 +0000 (01:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 08:23:02 +0000 (01:23 -0700)
commite4eeb38ede157d7bfe4dc6e4d800429498f7abf0
tree648f2bae68e69b5e9cbe97cb70f4ca2d89bd00d9
parentdf44114185a146238324cea598d47aa2d962d00d
[IP6TUNNEL]: Make the fallback tunnel device per-net.

All the code, that reference it already has the ip6_tnl_net pointer,
so s/ip6_fb_tnl_dev/ip6n->fb_tnl_dev/ and move creation/releasing
code into net init/exit ops.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c