[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQLNi=r+H0+kc3BmN8GtRK-3f2h0+ssHSbSMMeh3Dsc_Kg@mail.gmail.com>
Date: Wed, 12 Aug 2020 18:08:56 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Stanislav Fomichev <sdf@...gle.com>
Cc: Toke Høiland-Jørgensen <toke@...hat.com>,
Andrii Nakryiko <andriin@...com>, bpf <bpf@...r.kernel.org>,
Netdev <netdev@...r.kernel.org>, Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH bpf] bpf: fix XDP FD-based attach/detach logic around XDP_FLAGS_UPDATE_IF_NOEXIST
On Wed, Aug 12, 2020 at 8:48 AM Stanislav Fomichev <sdf@...gle.com> wrote:
>
> On Wed, Aug 12, 2020 at 2:24 AM Toke Høiland-Jørgensen <toke@...hat.com> wrote:
> >
> > Andrii Nakryiko <andriin@...com> writes:
> >
> > > Enforce XDP_FLAGS_UPDATE_IF_NOEXIST only if new BPF program to be attached is
> > > non-NULL (i.e., we are not detaching a BPF program).
> > >
> > > Reported-by: Stanislav Fomichev <sdf@...gle.com>
> > > Fixes: d4baa9368a5e ("bpf, xdp: Extract common XDP program attachment logic")
> > > Signed-off-by: Andrii Nakryiko <andriin@...com>
> >
> > Acked-by: Toke Høiland-Jørgensen <toke@...hat.com>
> That fixed it for me, thank you!
>
> Tested-by: Stanislav Fomichev <sdf@...gle.com>
Applied. Thanks
Powered by blists - more mailing lists