Skip to content

Commit

Permalink
bpf: add test cases for direct packet access
Browse files Browse the repository at this point in the history
Add couple of test cases for direct write and the negative size issue, and
also adjust the direct packet access test4 since it asserts that writes are
not possible, but since we've just added support for writes, we need to
invert the verdict to ACCEPT, of course. Summary: 133 PASSED, 0 FAILED.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Daniel Borkmann authored and David S. Miller committed Sep 21, 2016
1 parent 36bbef5 commit 7d95b0a
Showing 1 changed file with 430 additions and 3 deletions.
Loading

0 comments on commit 7d95b0a

Please sign in to comment.