Re: [PATCH net-next v2] net/sched: actions report errors with extack

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

 



On Thu, 8 Feb 2024 18:27:31 -0800
Jakub Kicinski <kuba@xxxxxxxxxx> wrote:

> > -	if (!tb[TCA_ACT_BPF_PARMS])
> > +	if (NL_REQ_ATTR_CHECK(extack, nla, tb, TCA_ACT_BPF_PARMS)) {
> > +		NL_SET_ERR_MSG(extack, "Missing required attribute");  
> 
> Please fix the userspace to support missing attr parsing instead.

I was just addressing the error handling. This keeps the same impact as
before, i.e no userspace API change.




[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