[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAEf4BzaiGS9TqrLTr-ss0Zm7VXzzz4A9zy8KHPZnfGwZ3p=+Pw@mail.gmail.com>
Date: Wed, 1 Jul 2020 14:01:34 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Stanislav Fomichev <sdf@...gle.com>
Cc: Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [PATCH bpf-next v3 3/4] bpftool: add support for BPF_CGROUP_INET_SOCK_RELEASE
On Wed, Jul 1, 2020 at 1:13 PM Stanislav Fomichev <sdf@...gle.com> wrote:
>
> Support attaching to BPF_CGROUP_INET_SOCK_RELEASE and properly
> display attach type upon prog dump.
>
> Signed-off-by: Stanislav Fomichev <sdf@...gle.com>
> ---
Acked-by: Andrii Nakryiko <andriin@...com>
> tools/bpf/bpftool/common.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/bpf/bpftool/common.c b/tools/bpf/bpftool/common.c
> index 18e5604fe260..29f4e7611ae8 100644
> --- a/tools/bpf/bpftool/common.c
> +++ b/tools/bpf/bpftool/common.c
> @@ -33,6 +33,7 @@ const char * const attach_type_name[__MAX_BPF_ATTACH_TYPE] = {
> [BPF_CGROUP_INET_INGRESS] = "ingress",
> [BPF_CGROUP_INET_EGRESS] = "egress",
> [BPF_CGROUP_INET_SOCK_CREATE] = "sock_create",
> + [BPF_CGROUP_INET_SOCK_RELEASE] = "sock_release",
> [BPF_CGROUP_SOCK_OPS] = "sock_ops",
> [BPF_CGROUP_DEVICE] = "device",
> [BPF_CGROUP_INET4_BIND] = "bind4",
> --
> 2.27.0.212.ge8ba1cc988-goog
>
Powered by blists - more mailing lists