[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <04d73b67-feb2-13b9-5daf-47b335bd80be@iogearbox.net>
Date: Mon, 11 Mar 2019 10:44:41 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Andrii Nakryiko <andriin@...com>, andrii.nakryiko@...il.com,
kernel-team@...com, ast@...com, netdev@...r.kernel.org,
bpf@...r.kernel.org, kafai@...com, tehnerd@...nerd.com
Subject: Re: [PATCH bpf] libbpf: handle BTF parsing and loading properly
On 03/09/2019 12:58 AM, Andrii Nakryiko wrote:
> This patch splits and cleans up error handling logic for loading BTF data.
> Previously, if BTF data was parsed successfully, but failed to load into
> kernel, we'd report nonsensical error code, instead of error returned from
> btf__load(). Now btf__new() and btf__load() are handled separately with proper
> cleanup and warning reporting.
>
> Fixes: d29d87f7e612 ("btf: separate btf creation and loading")
> Reported-by: Martin KaFai Lau <kafai@...com>
> Signed-off-by: Andrii Nakryiko <andriin@...com>
Applied, thanks!
Powered by blists - more mailing lists