[VLAN]: Allow vlan devices registration in net namespaces.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 07:55:06 +0000 (00:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 07:56:37 +0000 (00:56 -0700)
This one is similar to what I've done for TUN - set the proper
net after device allocation and clean VLANs on net exit (use the
rtnl_kill_links helper finally).

Plus, drop explicit init_net usage and net != &init_net checks.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found