Re: [PATCH bpf-next] selftests/bpf: Add missing cleanup in atomic_bounds test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> wrote:
>
> Add missing skeleton destroy call.
>
> Reported-by: Yonghong Song <yhs@xxxxxx>
> Fixes: 37086bfdc737 ("bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCH")
> Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>
> ---
>  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
>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux