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 <[email protected]>
Cc: Zi Shen Lim <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
set_memory_ro((unsigned long)header, header->pages);
prog->bpf_func = (void *)ctx.image;
- prog->jited = 1;
+ prog->jited = true;
out:
kfree(ctx.offset);
}