summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorMichael Holzheu2015-07-29 21:15:14 +0200
committerDavid S. Miller2015-07-29 23:59:58 +0200
commitf75298f5c3fee750ad170bb98556e366a45a4093 (patch)
tree07a4e6f7b67771d69bc7e67020efe734465a6293 /block
parentnet/mlx4_en: Hardware accelerated 802.1ad works only on the first port (diff)
downloadkernel-qcow2-linux-f75298f5c3fee750ad170bb98556e366a45a4093.tar.gz
kernel-qcow2-linux-f75298f5c3fee750ad170bb98556e366a45a4093.tar.xz
kernel-qcow2-linux-f75298f5c3fee750ad170bb98556e366a45a4093.zip
s390/bpf: clear correct BPF accumulator register
Currently we assumed the following BPF to eBPF register mapping: - BPF_REG_A -> BPF_REG_7 - BPF_REG_X -> BPF_REG_8 Unfortunately this mapping is wrong. The correct mapping is: - BPF_REG_A -> BPF_REG_0 - BPF_REG_X -> BPF_REG_7 So clear the correct registers and use the BPF_REG_A and BPF_REG_X macros instead of BPF_REG_0/7. Fixes: 054623105728 ("s390/bpf: Add s390x eBPF JIT compiler backend") Cc: stable@vger.kernel.org # 4.0+ Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions