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>