[PATCH] net: Allow tc changes in user namespaces

Eric Dumazet eric.dumazet at gmail.com
Wed Apr 30 15:48:35 UTC 2014


On Wed, 2014-04-30 at 11:25 -0400, Stéphane Graber wrote:
> This switches a few remaining capable(CAP_NET_ADMIN) to ns_capable so
> that root in a user namespace may set tc rules inside that namespace.
> 
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
> Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> Cc: "Eric W. Biederman" <ebiederm at xmission.com>
> Cc: Jamal Hadi Salim <jhs at mojatatu.com>
> Cc: "David S. Miller" <davem at davemloft.net>
> 
> ---
>  net/sched/cls_api.c | 3 ++-
>  net/sched/sch_api.c | 8 +++++---
>  2 files changed, 7 insertions(+), 4 deletions(-)

Acked-by: Eric Dumazet <edumazet at google.com>




More information about the Containers mailing list