Searched hist:"5855 c4c1f415ca3ba1046e77c0b3d3dfc96c9025" (Results 1 – 1 of 1) sorted by relevance
/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | diff 5855c4c1f415ca3ba1046e77c0b3d3dfc96c9025 Tue Oct 05 22:25:23 CEST 2021 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc/bpf: Fix BPF_SUB when imm == 0x80000000
We aren't handling subtraction involving an immediate value of 0x80000000 properly. Fix the same.
Fixes: 156d0e290e969c ("powerpc/ebpf/jit: Implement JIT compiler for extended BPF") Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> [mpe: Fold in fix from Naveen to use imm <= 32768] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/fc4b1276eb10761fd7ce0814c8dd089da2815251.1633464148.git.naveen.n.rao@linux.vnet.ibm.com
|