[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220128063152.gqfrdqa2gszpdc26@kafai-mbp.dhcp.thefacebook.com>
Date: Thu, 27 Jan 2022 22:31:52 -0800
From: Martin KaFai Lau <kafai@...com>
To: Jakub Sitnicki <jakub@...udflare.com>
CC: <bpf@...r.kernel.org>, <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Menglong Dong <imagedong@...cent.com>
Subject: Re: [PATCH bpf-next 0/2] Split bpf_sock dst_port field
On Thu, Jan 27, 2022 at 06:24:46PM +0100, Jakub Sitnicki wrote:
> This is a follow-up to discussion around the idea of making dst_port in struct
> bpf_sock a 16-bit field that happened in [1]. I have fleshed it out further:
>
> v1:
> - keep dst_field offset unchanged to prevent existing BPF program breakage
> (Martin)
> - allow 8-bit loads from dst_port[0] and [1]
> - add test coverage for the verifier and the context access converter
lgtm. Thanks for the patches.
Acked-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists