[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQKQd6DvECAxHomSZneQGT3Ofv3KNLUhV7L6qbkXRc_n2Q@mail.gmail.com>
Date: Sat, 17 Nov 2018 01:59:01 +0000
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrey Ignatov <rdna@...com>
Cc: Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Joe Stringer <joe@...d.net.nz>,
Martin KaFai Lau <kafai@...com>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH bpf-next v2 0/3] bpf: Support socket lookup in
CGROUP_SOCK_ADDR progs
On Fri, Nov 9, 2018 at 6:54 PM Andrey Ignatov <rdna@...com> wrote:
>
> This patch set makes bpf_sk_lookup_tcp, bpf_sk_lookup_udp and
> bpf_sk_release helpers available in programs of type
> BPF_PROG_TYPE_CGROUP_SOCK_ADDR.
>
> Patch 1 is a fix for bpf_sk_lookup_udp that was already merged to bpf
> (stable) tree. Here it's prerequisite for patch 3.
>
> Patch 2 is the main patch in the set, it makes the helpers available for
> BPF_PROG_TYPE_CGROUP_SOCK_ADDR and provides more details about use-case.
>
> Patch 3 adds selftest for new functionality.
>
> v1->v2:
> - remove "Split bpf_sk_lookup" patch since it was already split by:
> commit c8123ead13a5 ("bpf: Extend the sk_lookup() helper to XDP
> hookpoint.");
> - avoid unnecessary bpf_sock_addr_sk_lookup function.
applied, thanks
Powered by blists - more mailing lists