Subject: Re: [PATCH bpf V2 1/2] bpf: devmap adjust uapi for attach bpf program

From: Jesper Dangaard Brouer <[email-masked]>
Date: Tue, 9 Jun 2020 17:12:51 +0200

On Tue, 9 Jun 2020 07:47:06 -0600
David Ahern <[email-masked]> wrote:

> On 6/9/20 7:31 AM, Jesper Dangaard Brouer wrote:
> > This patch remove the minus-1 checks, and have zero mean feature isn't used.
> >   
> 
> For consistency this should apply to other XDP fd uses as well -- like
> IFLA_XDP_EXPECTED_FD and IFLA_XDP_FD.

I agree, but I choose to limit the scope as this is for bpf-tree.

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer