[SIT]: Make the fallback tunnel device per-net
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 08:16:18 +0000 (01:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 08:16:18 +0000 (01:16 -0700)
commitcd3dbc194d6784624f21acbc622a75c92378ba5a
treed49e62d7ca620323d44579132a31bb23874a76ec
parentfcee5ec9fdd2b27bce2a6ae8cd8161ad9a8899df
[SIT]: Make the fallback tunnel device per-net

Allocate and register one in sit_init_net, use sitn->fb_tunnel_dev
over the code and unregister one in sit_exit_net.

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