[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5956DFB1.9070005@iogearbox.net>
Date: Sat, 01 Jul 2017 01:33:05 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Lawrence Brakmo <brakmo@...com>, netdev <netdev@...r.kernel.org>
CC: Kernel Team <kernel-team@...com>, Blake Matheny <bmatheny@...com>,
Alexei Starovoitov <ast@...com>,
David Ahern <dsa@...ulusnetworks.com>
Subject: Re: [PATCH net-next v5 02/16] bpf: program to load and attach sock_ops
BPF progs
On 06/30/2017 10:06 PM, Lawrence Brakmo wrote:
> The program load_sock_ops can be used to load sock_ops bpf programs and
> to attach it to an existing (v2) cgroup. It can also be used to detach
> sock_ops programs.
>
> Examples:
> load_sock_ops [-l] <cg-path> <prog filename>
> Load and attaches a sock_ops program at the specified cgroup.
> If "-l" is used, the program will continue to run to output the
> BPF log buffer.
> If the specified filename does not end in ".o", it appends
> "_kern.o" to the name.
>
> load_sock_ops -r <cg-path>
> Detaches the currently attached sock_ops program from the
> specified cgroup.
>
> Signed-off-by: Lawrence Brakmo <brakmo@...com>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists