[PATCH 2.6.25 1/6] net: Modify all rtnetlink methods to only work in the initial namespace (v2)

David Miller davem at davemloft.net
Mon Nov 19 22:33:32 PST 2007


From: "Denis V. Lunev" <den at openvz.org>
Date: Thu, 15 Nov 2007 18:56:48 +0300

> Before I can enable rtnetlink to work in all network namespaces
> I need to be certain that something won't break.  So this
> patch deliberately disables all of the rtnletlink methods in everything
> except the initial network namespace.  After the methods have been
> audited this extra check can be disabled.
> 
> Changes from v1:
> - added IPv6 addrlabel protection
> 
> Signed-off-by: Denis V. Lunev <den at openvz.org>
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>

Applied, thanks Denis.


More information about the Containers mailing list