OpenCloudOS-Kernel/arch/mips/net
Denis Kirjanov 2e46477a12 mips: bpf: Fix broken BPF_MOD
Remove optimize_div() from BPF_MOD | BPF_K case
since we don't know the dividend and fix the
emit_mod() by reading the mod operation result from HI register

Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-12-08 20:22:30 -05:00
..
Makefile MIPS: net: Add BPF JIT 2014-05-30 16:10:20 +02:00
bpf_jit.c mips: bpf: Fix broken BPF_MOD 2014-12-08 20:22:30 -05:00
bpf_jit.h MIPS: net: Add BPF JIT 2014-05-30 16:10:20 +02:00