From: Eric W. Biederman Date: Thu, 26 Feb 2015 22:20:07 +0000 (-0600) Subject: net: Verify permission to link_net in newlink X-Git-Tag: omap-for-v4.1/wl12xx-dt~68^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06615bed60c1fb7c37adddb75bdc80da873b5edb;p=pandora-kernel.git net: Verify permission to link_net in newlink When applicable verify that the caller has permisson to the underlying network namespace for a newly created network device. Similary checks exist for the network namespace a network device will be created in. Fixes: 317f4810e45e ("rtnl: allow to create device with IFLA_LINK_NETNSID set") Signed-off-by: "Eric W. Biederman" Acked-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed