]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: add test cases for new BPF_J{LT, LE, SLT, SLE} instructions
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 9 Aug 2017 23:40:03 +0000 (01:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 23:53:57 +0000 (16:53 -0700)
commit2dc3489d0a786be49aac7dde2a214267cb6653ed
tree26144713b32d1aca78e8cf7fe85552fd71dd8845
parent1c7dd029af7fe36e42e1d22acda7fc04973594b2
bpf: add test cases for new BPF_J{LT, LE, SLT, SLE} instructions

Add test cases to the verifier selftest suite in order to verify that
i) direct packet access, and ii) dynamic map value access is working
with the changes related to the new instructions.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/test_verifier.c