aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/net/bpf_jit_32.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2018-01-26 23:33:46 +0100
committerAlexei Starovoitov <ast@kernel.org>2018-01-26 16:42:06 -0800
commite472d5d8afeccca835334d10e0f9389d2baba9c0 (patch)
treec05f720f1550220c52e6e4716118dfb18e19d701 /arch/arm/net/bpf_jit_32.c
parentbpf, mips64: remove obsolete exception handling from div/mod (diff)
downloadlinux-dev-e472d5d8afeccca835334d10e0f9389d2baba9c0.tar.xz
linux-dev-e472d5d8afeccca835334d10e0f9389d2baba9c0.zip
bpf, mips64: remove unneeded zero check from div/mod with k
The verifier in both cBPF and eBPF reject div/mod by 0 imm, so this can never load. Remove emitting such test and reject it from being JITed instead (the latter is actually also not needed, but given practice in sparc64, ppc64 today, so doesn't hurt to add it here either). Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Cc: David Daney <david.daney@cavium.com> Reviewed-by: David Daney <david.daney@cavium.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'arch/arm/net/bpf_jit_32.c')
0 files changed, 0 insertions, 0 deletions