aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/net/bpf_jit_comp.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2014-10-11 05:00:43 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2014-10-20 12:47:04 -0400
commit74c3deacb2a903bcb9d5a20dc885159142245010 (patch)
tree294fc976eab5d1b8785fe3d8df4e907f9f3edc0e /arch/arm64/net/bpf_jit_comp.c
parent30d3d94cc3d507a23dcb09e5c365464e4aa9f580 (diff)
net: bpf: arm64: minor fix of type in jited
Commit 286aad3c4014 ("net: bpf: be friendly to kmemcheck") changed the type of jited from a bitfield into a bool. As this commmit wasn't available at the time when arm64 eBPF JIT was merged, fix it up now as net is merged into mainline. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Cc: Zi Shen Lim <zlim.lnx@gmail.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/net/bpf_jit_comp.c')
-rw-r--r--arch/arm64/net/bpf_jit_comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/net/bpf_jit_comp.c b/arch/arm64/net/bpf_jit_comp.c
index 618d2cdc2f1b..41f1e3e2ea24 100644
--- a/arch/arm64/net/bpf_jit_comp.c
+++ b/arch/arm64/net/bpf_jit_comp.c
@@ -722,7 +722,7 @@ void bpf_int_jit_compile(struct bpf_prog *prog)
722 722
723 set_memory_ro((unsigned long)header, header->pages); 723 set_memory_ro((unsigned long)header, header->pages);
724 prog->bpf_func = (void *)ctx.image; 724 prog->bpf_func = (void *)ctx.image;
725 prog->jited = 1; 725 prog->jited = true;
726out: 726out:
727 kfree(ctx.offset); 727 kfree(ctx.offset);
728} 728}