diff options
author | Björn Töpel <bjorn.topel@gmail.com> | 2019-12-16 12:13:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-11 15:35:28 +0300 |
commit | 5b0e9b563c01f0f3bb1a00712bc99225fbb44d07 (patch) | |
tree | 36df788a472ef04fc9614da1c08b87bd7011c2ee /tools | |
parent | f3107a3c9b845db995d6bedee7a60d5309723a51 (diff) | |
download | linux-5b0e9b563c01f0f3bb1a00712bc99225fbb44d07.tar.xz |
riscv, bpf: Fix broken BPF tail calls
commit f1003b787c00fbaa4b11619c6b23a885bfce8f07 upstream.
The BPF JIT incorrectly clobbered the a0 register, and did not flag
usage of s5 register when BPF stack was being used.
Fixes: 2353ecc6f91f ("bpf, riscv: add BPF JIT for RV64G")
Signed-off-by: Björn Töpel <bjorn.topel@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191216091343.23260-2-bjorn.topel@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions