Thread (25 messages) 25 messages, 3 authors, 2020-06-02

Re: [PATCH bpf-next v2 06/12] libbpf: Add support for bpf_link-based netns attachment

From: Andrii Nakryiko <hidden>
Date: 2020-06-01 22:32:49
Also in: bpf

On Sun, May 31, 2020 at 1:29 AM Jakub Sitnicki [off-list ref] wrote:
Add bpf_program__attach_nets(), which uses LINK_CREATE subcommand to create
typo: nets -> netns
an FD-based kernel bpf_link, for attach types tied to network namespace,
that is BPF_FLOW_DISSECTOR for the moment.

Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
---
Looks good.

Acked-by: Andrii Nakryiko <redacted>
 tools/lib/bpf/libbpf.c   | 23 ++++++++++++++++++-----
 tools/lib/bpf/libbpf.h   |  2 ++
 tools/lib/bpf/libbpf.map |  1 +
 3 files changed, 21 insertions(+), 5 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