[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1b463b8a-eac0-4894-b265-da1d3e51c674@linux.dev>
Date: Sun, 29 Oct 2023 10:07:44 -0700
From: Yonghong Song <yonghong.song@...ux.dev>
To: Yuran Pereira <yuran.pereira@...mail.com>, bpf@...r.kernel.org
Cc: sinquersw@...il.com, ast@...nel.org, brauner@...nel.org,
daniel@...earbox.net, haoluo@...gle.com, iii@...ux.ibm.com,
john.fastabend@...il.com, jolsa@...nel.org, kpsingh@...nel.org,
kuifeng@...a.com, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org, mykolal@...com, sdf@...gle.com,
shuah@...nel.org, song@...nel.org,
linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH bpf-next v3 2/2] selftests/bpf: Add malloc failure checks
in bpf_iter
On 10/27/23 10:24 PM, Yuran Pereira wrote:
> Since some malloc calls in bpf_iter may at times fail,
> this patch adds the appropriate fail checks, and ensures that
> any previously allocated resource is appropriately destroyed
> before returning the function.
>
> Signed-off-by: Yuran Pereira <yuran.pereira@...mail.com>
Acked-by: Yonghong Song <yonghong.song@...ux.dev>
Powered by blists - more mailing lists