Subject: Re: [PATCH net 1/2] net: Verify permission to dest_net in newlink

From: Nicolas Dichtel <[email-masked]>
Date: Fri, 27 Feb 2015 10:03:29 +0100

Le 26/02/2015 23:19, Eric W. Biederman a écrit :
>
> When applicable verify that the caller has permision to create a
> network device in another network namespace.  This check is already
> present when moving a network device between network namespaces in
> setlink so all that is needed is to duplicate that check in newlink.
>
> This change almost backports cleanly, but there are context conflicts
> as the code that follows was added in v4.0-rc1
>
> Fixes: b51642f6d77b131dc85d1d71029c3cbb5b07c262 net: Enable a userns root rtnl calls that are safe for unprivilged users
12 digits is enough for the sha1 and commit title should be formatted like this
("commit title")
See 
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/SubmittingPatches#n187

Fixes: b51642f6d77b ("net: Enable a userns root rtnl calls that are safe for 
unprivilged users")
Acked-by: Nicolas Dichtel <[email-masked]>