From: Zefan Li <lize...@huawei.com>

3.4.110-rc1 review patch.  If anyone has any objections, please let me know.

------------------


Reported-by: Jim Faulkner <jfaul...@ccs.neu.edu>
Fixed-by: Nicolas Schichan <nschic...@freebox.fr>
Signed-off-by: Zefan Li <lize...@huawei.com>
---
 arch/arm/net/bpf_jit_32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c
index ad94145..77026415 100644
--- a/arch/arm/net/bpf_jit_32.c
+++ b/arch/arm/net/bpf_jit_32.c
@@ -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);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to