]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests/bpf: Fix crash in core_reloc when bpftool btfgen fails
authorYucong Sun <fallentree@fb.com>
Thu, 17 Feb 2022 18:02:10 +0000 (10:02 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 17 Feb 2022 19:01:32 +0000 (11:01 -0800)
commitb75dacaac4650478ed5a9d33975b91b99016daff
treec16082038ab3fe1e9f91ca41f3cbd1ab41bfddd5
parentb38101c57acf9543ed7c4b0f43fd65ea27240772
selftests/bpf: Fix crash in core_reloc when bpftool btfgen fails

Avoid unnecessary goto cleanup, as there is nothing to clean up.

Signed-off-by: Yucong Sun <fallentree@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220217180210.2981502-1-fallentree@fb.com
tools/testing/selftests/bpf/prog_tests/core_reloc.c