Messages in this thread | | | Date | Sun, 29 Oct 2023 10:07:44 -0700 | Subject | Re: [PATCH bpf-next v3 2/2] selftests/bpf: Add malloc failure checks in bpf_iter | From | Yonghong Song <> |
| |
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@hotmail.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
| |