[IPIP]: Allow to create IPIP tunnels in net namespaces.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 08:06:18 +0000 (01:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 08:06:18 +0000 (01:06 -0700)
commit0a826406d4adf0c4b7cd47f116cb8e8ef65b92a3
tree9da0f22c3dfc2d5b6bd672f5e14d816decba2540
parentb99f0152e5f96dde31d2b9060b4f1029abc11078
[IPIP]: Allow to create IPIP tunnels in net namespaces.

Set the proper net before calling register_netdev and disable
the tunnel device netns changing.

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