bpf: add various test cases for verifier selftest
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 2 Jul 2017 00:13:31 +0000 (02:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jul 2017 09:22:52 +0000 (02:22 -0700)
commit6d191ed40d8d84ef0045cd44c75c63770e250f2d
treeea378960d06698fc503e5f1ccd6d1b9e4d74e306
parent43188702b3d98d2792969a3377a30957f05695e6
bpf: add various test cases for verifier selftest

Add couple of verifier test cases for x|imm += pkt_ptr, including the
imm += x extension.

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