* [PATCH bpf-next] selftests/bpf: Add missing cleanup in atomic_bounds test
@ 2021-02-08 12:31 Brendan Jackman
2021-02-08 12:34 ` Brendan Jackman
0 siblings, 1 reply; 2+ messages in thread
From: Brendan Jackman @ 2021-02-08 12:31 UTC (permalink / raw)
To: bpf
Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, KP Singh,
Florent Revest, Yonghong Song, linux-kernel, Brendan Jackman
Add missing skeleton destroy call.
Reported-by: Yonghong Song <yhs@fb.com>
Fixes: 37086bfdc737 ("bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCH")
Signed-off-by: Brendan Jackman <jackmanb@google.com>
---
tools/testing/selftests/bpf/prog_tests/atomic_bounds.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c b/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c
index addf127068e4..290506fa1c38 100644
--- a/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c
+++ b/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c
@@ -12,4 +12,6 @@ void test_atomic_bounds(void)
skel = atomic_bounds__open_and_load();
if (CHECK(!skel, "skel_load", "couldn't load program\n"))
return;
+
+ atomic_bounds__destroy()
}
base-commit: 23a2d70c7a2f28eb1a8f6bc19d68d23968cad0ce
--
2.30.0.478.g8a0d178c01-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH bpf-next] selftests/bpf: Add missing cleanup in atomic_bounds test
2021-02-08 12:31 [PATCH bpf-next] selftests/bpf: Add missing cleanup in atomic_bounds test Brendan Jackman
@ 2021-02-08 12:34 ` Brendan Jackman
0 siblings, 0 replies; 2+ messages in thread
From: Brendan Jackman @ 2021-02-08 12:34 UTC (permalink / raw)
To: bpf
Sorry this is garbage, I edited one tree and then built/tested a
different one. Please ignore, v2 incoming.
On Mon, 8 Feb 2021 at 13:31, Brendan Jackman <jackmanb@google.com> wrote:
>
> Add missing skeleton destroy call.
>
> Reported-by: Yonghong Song <yhs@fb.com>
> Fixes: 37086bfdc737 ("bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCH")
> Signed-off-by: Brendan Jackman <jackmanb@google.com>
> ---
> tools/testing/selftests/bpf/prog_tests/atomic_bounds.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c b/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c
> index addf127068e4..290506fa1c38 100644
> --- a/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c
> +++ b/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c
> @@ -12,4 +12,6 @@ void test_atomic_bounds(void)
> skel = atomic_bounds__open_and_load();
> if (CHECK(!skel, "skel_load", "couldn't load program\n"))
> return;
> +
> + atomic_bounds__destroy()
> }
>
> base-commit: 23a2d70c7a2f28eb1a8f6bc19d68d23968cad0ce
> --
> 2.30.0.478.g8a0d178c01-goog
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-08 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-08 12:31 [PATCH bpf-next] selftests/bpf: Add missing cleanup in atomic_bounds test Brendan Jackman
2021-02-08 12:34 ` Brendan Jackman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.