Re: [PATCH bpf-next v1 6/6] bpf: selftests: Fix memory leak in test_ima
From: Song Liu <song@kernel.org>
Date: 2021-10-07 21:49:10
Also in:
bpf
From: Song Liu <song@kernel.org>
Date: 2021-10-07 21:49:10
Also in:
bpf
On Tue, Oct 5, 2021 at 9:46 PM Andrii Nakryiko [off-list ref] wrote:
On Tue, Oct 5, 2021 at 5:29 PM Kumar Kartikeya Dwivedi [off-list ref] wrote:quoted
The allocated ring buffer is never freed, do so in the cleanup path. Fixes: f446b570ac7e (bpf/selftests: Update the IMA test to use BPF ring buffer) Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> ---Please stick to "selftests/bpf: " prefix which we use consistently for BPF selftests patches. Other than that LGTM. Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <redacted>