On Wed, Aug 12, 2020 at 8:48 AM Stanislav Fomichev <sdf@xxxxxxxxxx> wrote: > > On Wed, Aug 12, 2020 at 2:24 AM Toke Høiland-Jørgensen <toke@xxxxxxxxxx> wrote: > > > > Andrii Nakryiko <andriin@xxxxxx> 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@xxxxxxxxxx> > > > Fixes: d4baa9368a5e ("bpf, xdp: Extract common XDP program attachment logic") > > > Signed-off-by: Andrii Nakryiko <andriin@xxxxxx> > > > > Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > That fixed it for me, thank you! > > Tested-by: Stanislav Fomichev <sdf@xxxxxxxxxx> Applied. Thanks