]> git.baikalelectronics.ru Git - kernel.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)
commit8575a10739cca517c335edc4e0429e8c1ebcfc32
treec16082038ab3fe1e9f91ca41f3cbd1ab41bfddd5
parentc6dee67a23b2fe2c839498d13e6b4b69705aa87d
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