]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bpf: update jmp32 test cases to fix range bound deduction
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 24 Jan 2020 14:21:14 +0000 (14:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2020 13:09:50 +0000 (15:09 +0200)
commitc5e58d88054178092a1c5fc77f3c2b7c3b614902
tree1e1c404cdb803c8181ed9460b150632d350e0a4f
parent2b67aa6438c56ae68b4dfe60341e2c624ef360aa
bpf: update jmp32 test cases to fix range bound deduction

[ no upstream commit ]

Since commit f2d67fec0b43 ("bpf: Undo incorrect __reg_bound_offset32 handling")
has been backported to stable, we also need to update related test cases that
started to (expectedly) fail on stable. Given the functionality has been reverted
we need to move the result to REJECT.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/bpf/verifier/jmp32.c