commit | de375f4e91e3074a09ad337ac4b32a2f21c24d96 | [log] [tgz] |
---|---|---|
author | Joe Stringer <joe@wand.net.nz> | Tue Oct 02 13:35:40 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Oct 03 02:53:48 2018 +0200 |
tree | b1d64d98319f474b264d38a1d3b71c6c4726a73c | |
parent | 29cd77f41620dca22bdee092217c16b49ece8915 [diff] |
selftests/bpf: Add C tests for reference tracking Add some tests that demonstrate and test the balanced lookup/free nature of socket lookup. Section names that start with "fail" represent programs that are expected to fail verification; all others should succeed. Signed-off-by: Joe Stringer <joe@wand.net.nz> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>