[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50acd550-4451-b40d-e50f-a3b2f894fcfa@iogearbox.net>
Date: Wed, 29 Jan 2020 17:24:32 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Martin KaFai Lau <kafai@...com>, bpf@...r.kernel.org
Cc: Alexei Starovoitov <ast@...nel.org>,
David Miller <davem@...emloft.net>, kernel-team@...com,
netdev@...r.kernel.org
Subject: Re: [PATCH bpf] bpf: Reuse log from btf_prase_vmlinux() in
btf_struct_ops_init()
On 1/27/20 6:51 PM, Martin KaFai Lau wrote:
> Instead of using a locally defined "struct bpf_verifier_log log = {}",
> btf_struct_ops_init() should reuse the "log" from its calling
> function "btf_parse_vmlinux()". It should also resolve the
> frame-size too large compiler warning in some ARCH.
>
> Fixes: 27ae7997a661 ("bpf: Introduce BPF_PROG_TYPE_STRUCT_OPS")
> Signed-off-by: Martin KaFai Lau <kafai@...com>
Applied, thanks!
Powered by blists - more mailing lists