mirror of
https://github.com/torvalds/linux
synced 2024-10-07 11:53:31 +00:00
676b2daaba
On do_jit failure path, the header is freed by bpf_jit_binary_pack_free. While bpf_jit_binary_pack_free doesn't require proper ro_header->size, bpf_prog_pack_free still uses it. Set header->size in bpf_int_jit_compile before calling bpf_jit_binary_pack_free. Fixes: |
||
---|---|---|
.. | ||
bpf_jit_comp.c | ||
bpf_jit_comp32.c | ||
Makefile |