Commit 0ca709ad authored by Zefan Li's avatar Zefan Li

ARM: Fix incorrect backport of 0b59d880

Reported-by: default avatarJim Faulkner <jfaulkne@ccs.neu.edu>
Fixed-by: default avatarNicolas Schichan <nschichan@freebox.fr>
Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
parent 700af4cf
......@@ -899,7 +899,7 @@ void bpf_jit_compile(struct sk_filter *fp)
if (ctx.imm_count)
kfree(ctx.imms);
#endif
bpf_jit_binary_free(header);
module_free(NULL, ctx.target);
goto out;
}
build_epilogue(&ctx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment