From: Pavel Emelyanov Date: Wed, 16 Apr 2008 07:55:06 +0000 (-0700) Subject: [VLAN]: Allow vlan devices registration in net namespaces. X-Git-Tag: v2.6.26-rc1~1138^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65d292a2ef2df66fd1ab83447afee71ef3720ded;p=pandora-kernel.git [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 Acked-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed