aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/ksyms_module.c
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2022-02-08 06:25:33 +0000
committerAlexei Starovoitov <[email protected]>2022-02-08 17:23:18 +0000
commitf95f768f0af4cec806ce86cd67934a10617d96d0 (patch)
tree58863b8b7a45ef7b1797d322008a7db3ff2392db /tools/testing/selftests/bpf/prog_tests/ksyms_module.c
parentbpf: test_run: Fix overflow in bpf_test_finish frags parsing (diff)
downloadkernel-f95f768f0af4cec806ce86cd67934a10617d96d0.tar.gz
kernel-f95f768f0af4cec806ce86cd67934a10617d96d0.zip
bpf, x86_64: Fail gracefully on bpf_jit_binary_pack_finalize failures
Instead of BUG_ON(), fail gracefully and return orig_prog. Fixes: 1022a5498f6f ("bpf, x86_64: Use bpf_jit_binary_pack_alloc") Signed-off-by: Song Liu <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/ksyms_module.c')
0 files changed, 0 insertions, 0 deletions