We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24a2dd commit 6ff4a0fCopy full SHA for 6ff4a0f
arch/arm64/net/bpf_jit_comp.c
@@ -3115,8 +3115,7 @@ void bpf_jit_free(struct bpf_prog *prog)
3115
* before freeing it.
3116
*/
3117
if (jit_data) {
3118
- bpf_arch_text_copy(&jit_data->ro_header->size, &jit_data->header->size,
3119
- sizeof(jit_data->header->size));
+ bpf_jit_binary_pack_finalize(jit_data->ro_header, jit_data->header);
3120
kfree(jit_data);
3121
}
3122
prog->bpf_func -= cfi_get_offset();
0 commit comments