Re: [PATCH bpf-next 1/3] flow_dissector: Pull BPF program assignment up to bpf-netns

2020-06-22 Thread Andrii Nakryiko
On Mon, Jun 22, 2020 at 9:03 AM Jakub Sitnicki wrote: > > Prepare for using bpf_prog_array to store attached programs by moving out > code that updates the attached program out of flow dissector. > > Managing bpf_prog_array is more involved than updating a single bpf_prog > pointer. This will let

[PATCH bpf-next 1/3] flow_dissector: Pull BPF program assignment up to bpf-netns

2020-06-22 Thread Jakub Sitnicki
Prepare for using bpf_prog_array to store attached programs by moving out code that updates the attached program out of flow dissector. Managing bpf_prog_array is more involved than updating a single bpf_prog pointer. This will let us do it all from one place, bpf/net_namespace.c, in the subsequen