]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: add test cases to bpf selftests to cover all access tests
authorDaniel Borkmann <daniel@iogearbox.net>
Sat, 21 Oct 2017 00:34:23 +0000 (02:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Oct 2017 23:56:09 +0000 (00:56 +0100)
commit3bff59b0f1f3c173291b7ea460d259a8a48f2559
tree094fc50d34225194618797023ee25e65413a5e0d
parent54ef9ec4127061976d113d2726ef780ba15ccd39
bpf: add test cases to bpf selftests to cover all access tests

Lets add test cases to cover really all possible direct packet
access tests for good/bad access cases so we keep tracking them.

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