diff options
author | Martin KaFai Lau <kafai@fb.com> | 2020-03-20 18:21:07 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-03-23 22:51:55 +0300 |
commit | c9b24312040edaa89acb6fb91a9a53fb4775309e (patch) | |
tree | 24b2e33e4c91a8e5ca60ad7464adaafcad108e37 /tools/testing/selftests/bpf/trace_helpers.c | |
parent | ab14fd4ee82ead4b058034509971b8bd749862ff (diff) | |
download | linux-c9b24312040edaa89acb6fb91a9a53fb4775309e.tar.xz |
bpf: Add tests for bpf_sk_storage to bpf_tcp_ca
This patch adds test to exercise the bpf_sk_storage_get()
and bpf_sk_storage_delete() helper from the bpf_dctcp.c.
The setup and check on the sk_storage is done immediately
before and after the connect().
This patch also takes this chance to move the pthread_create()
after the connect() has been done. That will remove the need of
the "wait_thread" label.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200320152107.2169904-1-kafai@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/trace_helpers.c')
0 files changed, 0 insertions, 0 deletions