[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <27c9a7fd-20b6-01a7-b66d-31729f73c1f0@iogearbox.net>
Date: Fri, 20 Jul 2018 10:37:51 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Martin KaFai Lau <kafai@...com>, netdev@...r.kernel.org
Cc: Alexei Starovoitov <ast@...com>, kernel-team@...com
Subject: Re: [PATCH bpf] bpf: btf: Clean up BTF_INT_BITS() in uapi btf.h
On 07/20/2018 07:14 AM, Martin KaFai Lau wrote:
> This patch shrinks the BTF_INT_BITS() mask. The current
> btf_int_check_meta() ensures the nr_bits of an integer
> cannot exceed 64. Hence, it is mostly an uapi cleanup.
>
> The actual btf usage (i.e. seq_show()) is also modified
> to use u8 instead of u16. The verification (e.g. btf_int_check_meta())
> path stays as is to deal with invalid BTF situation.
>
> Fixes: 69b693f0aefa ("bpf: btf: Introduce BPF Type Format (BTF)")
> Signed-off-by: Martin KaFai Lau <kafai@...com>
Applied to bpf, thanks Martin!
Powered by blists - more mailing lists