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

2020-06-25 Thread Martin KaFai Lau
On Thu, Jun 25, 2020 at 04:13:54PM +0200, 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 w

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

2020-06-25 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