On Mon, Jun 22, 2020 at 9:03 AM Jakub Sitnicki <jakub@xxxxxxxxxxxxxx> 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 us do it all from one place, bpf/net_namespace.c, in > the subsequent patch. > > No functional change intended. > > Signed-off-by: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx> > --- LGTM. Acked-by: Andrii Nakryiko <andriin@xxxxxx> > include/net/flow_dissector.h | 3 ++- > kernel/bpf/net_namespace.c | 20 ++++++++++++++++++-- > net/core/flow_dissector.c | 13 ++----------- > 3 files changed, 22 insertions(+), 14 deletions(-) > [...]