]> git.hungrycats.org Git - linux/commitdiff
ARM: Fix incorrect backport of 0b59d8806a31
authorZefan Li <lizefan@huawei.com>
Sun, 11 Oct 2015 10:45:19 +0000 (18:45 +0800)
committerZefan Li <lizefan@huawei.com>
Thu, 22 Oct 2015 01:20:08 +0000 (09:20 +0800)
Reported-by: Jim Faulkner <jfaulkne@ccs.neu.edu>
Fixed-by: Nicolas Schichan <nschichan@freebox.fr>
Signed-off-by: Zefan Li <lizefan@huawei.com>
arch/arm/net/bpf_jit_32.c

index ad941453340ab54c155bfdd140ef4bf070ff9fae..7702641520ea0848ed03840cbce5ed60f2400b02 100644 (file)
@@ -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);