summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2020-03-20 08:21:07 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2020-03-23 20:51:55 +0100
commitc9b24312040edaa89acb6fb91a9a53fb4775309e (patch)
tree24b2e33e4c91a8e5ca60ad7464adaafcad108e37 /samples
parentab14fd4ee82ead4b058034509971b8bd749862ff (diff)
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 'samples')
0 files changed, 0 insertions, 0 deletions