[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201002214537.lmc6ej4d47cr7tvm@kafai-mbp.dhcp.thefacebook.com>
Date: Fri, 2 Oct 2020 14:45:37 -0700
From: Martin KaFai Lau <kafai@...com>
To: John Fastabend <john.fastabend@...il.com>
CC: <ast@...nel.org>, <daniel@...earbox.net>, <jakub@...udflare.com>,
<netdev@...r.kernel.org>, <bpf@...r.kernel.org>
Subject: Re: [bpf-next PATCH v2 0/2] Add skb_adjust_room() for SK_SKB
On Thu, Oct 01, 2020 at 06:09:34PM -0700, John Fastabend wrote:
> This implements the helper skb_adjust_room() for BPF_SKS_SK_STREAM_VERDICT
> programs so we can push/pop headers from the data on recieve. One use
> case is to pop TLS headers off kTLS packets.
>
> The first patch implements the helper and the second updates test_sockmap
> to use it removing some case handling we had to do earlier to account for
> the TLS headers in the kTLS tests.
>
> v1->v2:
> Fix error path for TLS case (Daniel)
> check mode input is 0 because we don't use it now (Daniel)
> Remove incorrect/misleading comment (Lorenz)
Acked-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists