Thread (8 messages) flat view 8 messages, 2 authors, 2020-06-23

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

From: Andrii Nakryiko <hidden>
Date: 2020-06-23 06:03:02
Also in: bpf

On Mon, Jun 22, 2020 at 9:03 AM Jakub Sitnicki [off-list ref] 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@cloudflare.com>
---
LGTM.

Acked-by: Andrii Nakryiko <redacted>
 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(-)
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help