48ee85dc9c
commit 758f2046ea040773ae8ea7f72dd3bbd8fa984501 upstream.
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:
|
||
---|---|---|
.. | ||
bpf_jit.h | ||
bpf_jit32.h | ||
bpf_jit64.h | ||
bpf_jit_asm.S | ||
bpf_jit_comp.c | ||
bpf_jit_comp64.c | ||
Makefile |