linux-sg2042/arch/arm/net
Daniel Borkmann ebaef649c2 bpf, arm: start flushing icache range from header
During review I noticed that the icache range we're flushing should
start at header already and not at ctx.image.

Reason is that after 55309dd3d4 ("net: bpf: arm: address randomize
and write protect JIT code"), we also want to make sure to flush the
random-sized trap in front of the start of the actual program (analogous
to x86). No operational differences from user side.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Nicolas Schichan <nschichan@freebox.fr>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-16 14:40:49 -05:00
..
Makefile ARM: 7259/3: net: JIT compiler for packet filters 2012-03-24 09:38:56 +00:00
bpf_jit_32.c bpf, arm: start flushing icache range from header 2015-11-16 14:40:49 -05:00
bpf_jit_32.h ARM: net: support BPF_ALU | BPF_MOD instructions in the BPF JIT. 2015-10-05 07:02:42 -07:00