aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2021-08-24 10:30:26 -0700
committerAlexei Starovoitov <[email protected]>2021-08-25 17:40:35 -0700
commit574ee209286755ae57449196bfa11a90d2d724e5 (patch)
treecad9561b3fc80ffe9254a66bcf36159a0d5141c8 /lib/test_overflow.c
parent3d7789831df9bda0941bda41cface6687b7c3e04 (diff)
bpf: selftests: Add dctcp fallback test
This patch makes the bpf_dctcp test to fallback to cubic by using setsockopt(TCP_CONGESTION) when the tcp flow is not ecn ready. It also checks setsockopt() is not available to release(). The settimeo() from the network_helpers.h is used, so the local one is removed. Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions