net: bpf: arm64: minor fix of type in jited

Commit 286aad3c40 ("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>
This commit is contained in:
Daniel Borkmann 2014-10-11 10:00:43 +01:00 committed by Catalin Marinas
parent 30d3d94cc3
commit 74c3deacb2
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}