[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180602183119.tqrkq5y2atqifl3w@ast-mbp>
Date: Sat, 2 Jun 2018 14:31:24 -0400
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Martin KaFai Lau <kafai@...com>
Cc: netdev@...r.kernel.org, Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>, kernel-team@...com
Subject: Re: [PATCH bpf-next 1/2] bpf: btf: Check array t->size
On Sat, Jun 02, 2018 at 09:06:50AM -0700, Martin KaFai Lau wrote:
> This patch ensures array's t->size is 0.
>
> The array size is decided by its individual elem's size and the
> number of elements. Hence, t->size is not used and
> it must be 0.
>
> A test case is added to test_btf.c
>
> Signed-off-by: Martin KaFai Lau <kafai@...com>
Both applied.
Please provide cover letter with short description next time
when sending series.
Thanks
Powered by blists - more mailing lists