samples/bpf: add verifier tests for the helper access to the packet
authorAaron Yue <haoxuany@fb.com>
Fri, 12 Aug 2016 01:17:17 +0000 (18:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 04:56:18 +0000 (21:56 -0700)
commit1633ac0a2e774a9af339b9290ef33cd97a918c54
tree85008f33388ef2f04b03fc57e5eb2dc7d91523fd
parent6841de8b0d03cc9a4e0e928453623c13ee754f77
samples/bpf: add verifier tests for the helper access to the packet

test various corner cases of the helper function access to the packet
via crafted XDP programs.

Signed-off-by: Aaron Yue <haoxuany@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/test_verifier.c