commit | 65d292a2ef2df66fd1ab83447afee71ef3720ded | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Wed Apr 16 00:55:06 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 16 00:56:37 2008 -0700 |
tree | d3ac632109448ab07f0fef3fe767dca66d183149 | |
parent | 7a17a2f79f54a988d08ffa33ec9e1038bffec42b [diff] |
[VLAN]: Allow vlan devices registration in net namespaces. 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>