From: Denis V. Lunev Date: Fri, 30 Nov 2007 13:21:31 +0000 (+1100) Subject: [NET]: Modify all rtnetlink methods to only work in the initial namespace (v2) X-Git-Tag: v2.6.25-rc1~1162^2~1393 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b854272b3c732316676e9128f7b9e6f1e1ff88b0;p=pandora-kernel.git [NET]: Modify all rtnetlink methods to only work in the initial namespace (v2) 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 Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller Signed-off-by: Herbert Xu --- Reading git-diff-tree failed