Re: [PATCH bpf-next v2 0/2] Atomic flow dissector updates

2019-10-11 Thread Jakub Sitnicki
On Fri, Oct 11, 2019 at 01:38 AM CEST, Daniel Borkmann wrote: > On Thu, Oct 10, 2019 at 08:17:48PM +0200, Jakub Sitnicki wrote: >> This patch set changes how bpf(BPF_PROG_ATTACH) operates on flow dissector >> hook when there is already a program attached. After this change the user >> is allowed to

Re: [PATCH bpf-next v2 0/2] Atomic flow dissector updates

2019-10-10 Thread Daniel Borkmann
On Thu, Oct 10, 2019 at 08:17:48PM +0200, Jakub Sitnicki wrote: > This patch set changes how bpf(BPF_PROG_ATTACH) operates on flow dissector > hook when there is already a program attached. After this change the user > is allowed to update the program in a single syscall. Please see the first > pat

Re: [PATCH bpf-next v2 0/2] Atomic flow dissector updates

2019-10-10 Thread Stanislav Fomichev
On 10/10, Jakub Sitnicki wrote: > This patch set changes how bpf(BPF_PROG_ATTACH) operates on flow dissector > hook when there is already a program attached. After this change the user > is allowed to update the program in a single syscall. Please see the first > patch for rationale. > > v1 -> v2:

[PATCH bpf-next v2 0/2] Atomic flow dissector updates

2019-10-10 Thread Jakub Sitnicki
This patch set changes how bpf(BPF_PROG_ATTACH) operates on flow dissector hook when there is already a program attached. After this change the user is allowed to update the program in a single syscall. Please see the first patch for rationale. v1 -> v2: - Don't use CHECK macro which expects BPF