Subject: Re: [PATCH net-next] net: sched: remove duplicate check of user rights in qdisc

From: Jakub Kicinski <[email-masked]>
Date: Thu, 18 Aug 2022 20:44:08 -0700

On Thu, 18 Aug 2022 15:25:00 +0800 Zhengchao Shao wrote:
> -	if ((n->nlmsg_type != RTM_GETACTION) &&
> -	    !netlink_capable(skb, CAP_NET_ADMIN))
> -		return -EPERM;

This check is not network namespace capable, right?

We're probably fine making it namespace aware but it needs to be a
separate change.