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 <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
borkmann authored and davem330 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.