summaryrefslogtreecommitdiffstats
path: root/arch/s390/net/bpf_jit.S
diff options
context:
space:
mode:
authorMichael Holzheu2015-01-14 11:25:07 +0100
committerMartin Schwidefsky2015-01-15 08:17:42 +0100
commit5a80244246d503df688341a10e1d244d15bb8ce5 (patch)
treee4e39440f18e35b8710b7c515daaba11cbbacabf /arch/s390/net/bpf_jit.S
parentMerge branch 'thermal-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/r... (diff)
downloadkernel-qcow2-linux-5a80244246d503df688341a10e1d244d15bb8ce5.tar.gz
kernel-qcow2-linux-5a80244246d503df688341a10e1d244d15bb8ce5.tar.xz
kernel-qcow2-linux-5a80244246d503df688341a10e1d244d15bb8ce5.zip
s390/bpf: Fix JMP_JGE_K (A >= K) and JMP_JGT_K (A > K)
Currently the signed COMPARE HALFWORD IMMEDIATE (chi) and COMPARE (c) instructions are used to compare "A" with "K". This is not correct because "A" and "K" are both unsigned. To fix this remove the chi instruction (no unsigned analogon available) and use the unsigned COMPARE LOGICAL (cl) instruction instead of COMPARE (c). Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/net/bpf_jit.S')
0 files changed, 0 insertions, 0 deletions