Skip to content

Commit

Permalink
net: bpf: arm64: minor fix of type in jited
Browse files Browse the repository at this point in the history
Commit 286aad3 ("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>
  • Loading branch information
Daniel Borkmann authored and Catalin Marinas committed Oct 20, 2014
1 parent 30d3d94 commit 74c3dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/net/bpf_jit_comp.c
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ void bpf_int_jit_compile(struct bpf_prog *prog)

set_memory_ro((unsigned long)header, header->pages);
prog->bpf_func = (void *)ctx.image;
prog->jited = 1;
prog->jited = true;
out:
kfree(ctx.offset);
}
Expand Down

0 comments on commit 74c3dea

Please sign in to comment.