diff options
author | Song Liu <song@kernel.org> | 2022-02-08 09:25:33 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-02-08 20:23:18 +0300 |
commit | f95f768f0af4cec806ce86cd67934a10617d96d0 (patch) | |
tree | 58863b8b7a45ef7b1797d322008a7db3ff2392db /kernel | |
parent | 5d1e9f437df5ef21e7567f1970a00fda3b5d1126 (diff) | |
download | linux-f95f768f0af4cec806ce86cd67934a10617d96d0.tar.xz |
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 <song@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220208062533.3802081-1-song@kernel.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions