Re: [PATCH bpf-next v3 08/18] bpf: net_sched: Support implementation of Qdisc_ops in bpf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 31 Jan 2025 11:28:47 -0800 Amery Hung wrote:
> +		if (new &&
> +		    !(parent->flags & TCQ_F_MQROOT) &&
> +		    new->ops->owner == BPF_MODULE_OWNER) {
> +			NL_SET_ERR_MSG(extack, "BPF qdisc not supported on a non root");
> +			return -EINVAL;
> +		}

This check should live in bpf_qdisc.c




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux