OpenCloudOS-Kernel/arch/mips/net
Daniel Borkmann e472d5d8af 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>
2018-01-26 16:42:06 -08:00
..
Makefile MIPS: Add support for eBPF JIT. 2017-06-28 12:22:39 +02:00
bpf_jit.c bpf: get rid of pure_initcall dependency to enable jits 2018-01-19 18:37:00 -08:00
bpf_jit.h MIPS: BPF: Introduce BPF ASM helpers 2015-06-21 21:54:25 +02:00
bpf_jit_asm.S MIPS: BPF: Fix multiple problems in JIT skb access helpers. 2017-04-10 11:56:05 +02:00
ebpf_jit.c bpf, mips64: remove unneeded zero check from div/mod with k 2018-01-26 16:42:06 -08:00