Naveen N. Rao 758f2046ea powerpc/bpf: use unsigned division instruction for 64-bit operations
BPF_ALU64 div/mod operations are currently using signed division, unlike
BPF_ALU32 operations. Fix the same. DIV64 and MOD64 overflow tests pass
with this fix.

Fixes: 156d0e290e969c ("powerpc/ebpf/jit: Implement JIT compiler for extended BPF")
Cc: stable@vger.kernel.org # v4.8+
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2019-06-13 23:07:00 +02:00
..
2019-06-03 14:45:48 -07:00
2019-06-02 10:22:38 -07:00
2019-06-07 09:21:48 -07:00
2019-05-31 08:34:32 -07:00
2019-06-02 10:19:39 -07:00
2019-06-03 10:23:41 -07:00
2019-06-02 10:19:39 -07:00