OSDN Git Service

ebpf: remove kernel test stubs
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 1 Mar 2015 11:31:41 +0000 (12:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Mar 2015 19:05:18 +0000 (14:05 -0500)
commitf91fe17e243d1f279d425071a35e3d41290758a0
treebe27553798f8f3490487814275e09644e446c88f
parentb656cc64cf815d8ff6e99883a531fafc48199bd0
ebpf: remove kernel test stubs

Now that we have BPF_PROG_TYPE_SOCKET_FILTER up and running, we can
remove the test stubs which were added to get the verifier suite up.

We can just let the test cases probe under socket filter type instead.
In the fill/spill test case, we cannot (yet) access fields from the
context (skb), but we may adapt that test case in future.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/Makefile
kernel/bpf/test_stub.c [deleted file]
samples/bpf/test_verifier.c