diff options
| author | Song Liu <[email protected]> | 2022-02-08 06:25:33 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-02-08 17:23:18 +0000 |
| commit | f95f768f0af4cec806ce86cd67934a10617d96d0 (patch) | |
| tree | 58863b8b7a45ef7b1797d322008a7db3ff2392db /tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c | |
| parent | bpf: test_run: Fix overflow in bpf_test_finish frags parsing (diff) | |
| download | kernel-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/xdp_devmap_attach.c')
0 files changed, 0 insertions, 0 deletions
