diff options
| author | 2021-10-06 01:55:23 +0530 | |
|---|---|---|
| committer | 2021-10-07 19:52:26 +1100 | |
| commit | 5855c4c1f415ca3ba1046e77c0b3d3dfc96c9025 (patch) | |
| tree | 3f5123b46a801ca6e58a4eff17c6520b90a3b756 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | powerpc/bpf: Fix BPF_MOD when imm == 1 (diff) | |
| download | linux-dev-5855c4c1f415ca3ba1046e77c0b3d3dfc96c9025.tar.xz linux-dev-5855c4c1f415ca3ba1046e77c0b3d3dfc96c9025.zip | |
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
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
