diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2017-06-11 00:50:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-10 19:05:46 -0400 |
commit | 5ecf51fd9cc69a4a6099340b30f8171c7cd04394 (patch) | |
tree | 696bcf06fc8772f4dac74b032f97f490ba7e8b02 /tools/testing/selftests/bpf/test_align.c | |
parent | bpf: reset id on spilled regs in clear_all_pkt_pointers (diff) | |
download | linux-dev-5ecf51fd9cc69a4a6099340b30f8171c7cd04394.tar.xz linux-dev-5ecf51fd9cc69a4a6099340b30f8171c7cd04394.zip |
bpf, tests: add a test for htab lookup + update traversal
Add a test case to track behaviour when traversing and updating the
htab map. We recently used such traversal, so it's quite useful to
keep it as an example in selftests.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_align.c')
0 files changed, 0 insertions, 0 deletions