aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2018-01-20 01:24:31 +0100
committerAlexei Starovoitov <ast@kernel.org>2018-01-19 18:36:59 -0800
commitfcd1c9177195489c40198d2769649439dd88505b (patch)
treee5a90dbd92ed6ef04729bf5ddc180d272c5f75b5 /tools/testing/selftests
parentbpf: add csum_diff helper to xdp as well (diff)
downloadlinux-dev-fcd1c9177195489c40198d2769649439dd88505b.tar.xz
linux-dev-fcd1c9177195489c40198d2769649439dd88505b.zip
bpf: add couple of test cases for signed extended imms
Add a couple of test cases for interpreter and JIT that are related to an issue we faced some time ago in Cilium [1], which is fixed in LLVM with commit e53750e1e086 ("bpf: fix bug on silently truncating 64-bit immediate"). Test cases were run-time checking kernel to behave as intended which should also provide some guidance for current or new JITs in case they should trip over this. Added for cBPF and eBPF. [1] https://github.com/cilium/cilium/pull/2162 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions