[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091202.221407.60533255.davem@davemloft.net>
Date: Wed, 02 Dec 2009 22:14:07 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ebiederm@...ssion.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: Teach vlans to cleanup as a pernet subsystem
From: ebiederm@...ssion.com (Eric W. Biederman)
Date: Wed, 02 Dec 2009 15:19:08 -0800
>
> Take advantage of the fact that an explicit rtnl_kill_links is
> unnecessary (and skipping it improves batching), as network namespace
> exit calls dellink on all remaining virtual devices, and
> rtnl_link_unregister calls dellink on all outstanding devices in that
> network namespace. To do this we need to leave the vlan proc
> directories in place until after network device exit time, which is
> done by using register_pernet_subsys instead of
> register_pernet_device.
>
> Signed-off-by: Eric W. Biederman <ebiederm@...ssion.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists