Re: [PATCH bpf-next 0/5] BPF link force-detach support

2020-08-10 Thread Toke Høiland-Jørgensen
Andrii Nakryiko writes: >> BTW, I've noticed that you tend to drop Ccs on later versions of your >> patch series (had to go and lookup v2 of this to check that it was in >> fact merged). Is that intentional? :) > > Hm.. not sure about whether I tend to do that. But in this it was > intentional an

Re: [PATCH bpf-next 0/5] BPF link force-detach support

2020-08-10 Thread Andrii Nakryiko
On Mon, Aug 10, 2020 at 8:01 AM Toke Høiland-Jørgensen wrote: > > Andrii Nakryiko writes: > > > This patch set adds new BPF link operation, LINK_DETACH, allowing processes > > with BPF link FD to force-detach it from respective BPF hook, similarly how > > BPF link is auto-detached when such BPF h

Re: [PATCH bpf-next 0/5] BPF link force-detach support

2020-08-10 Thread Toke Høiland-Jørgensen
Andrii Nakryiko writes: > This patch set adds new BPF link operation, LINK_DETACH, allowing processes > with BPF link FD to force-detach it from respective BPF hook, similarly how > BPF link is auto-detached when such BPF hook (e.g., cgroup, net_device, netns, > etc) is removed. This facility all

[PATCH bpf-next 0/5] BPF link force-detach support

2020-07-29 Thread Andrii Nakryiko
This patch set adds new BPF link operation, LINK_DETACH, allowing processes with BPF link FD to force-detach it from respective BPF hook, similarly how BPF link is auto-detached when such BPF hook (e.g., cgroup, net_device, netns, etc) is removed. This facility allows admin to forcefully undo BPF l