diff options
author | Martin KaFai Lau <[email protected]> | 2020-03-20 08:21:07 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-03-23 20:51:55 +0100 |
commit | c9b24312040edaa89acb6fb91a9a53fb4775309e (patch) | |
tree | 24b2e33e4c91a8e5ca60ad7464adaafcad108e37 /lib/test_overflow.c | |
parent | ab14fd4ee82ead4b058034509971b8bd749862ff (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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions