aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/sock_fields.c
diff options
context:
space:
mode:
authorJörn-Thorben Hinz <jthinz@mailbox.tu-berlin.de>2022-06-22 21:12:26 +0200
committerAlexei Starovoitov <ast@kernel.org>2022-06-23 09:49:57 -0700
commit0735627d78caa56f219dc14608ce0bdbd045e07e (patch)
treedb73228f689f24814d6955f295e150e0ce1e2213 /tools/testing/selftests/bpf/prog_tests/sock_fields.c
parent6e945d57cc9f6e27893d57a419434a2859ba6f3f (diff)
selftests/bpf: Test an incomplete BPF CC
Test whether a TCP CC implemented in BPF providing neither cong_avoid() nor cong_control() is correctly rejected. This check solely depends on tcp_register_congestion_control() now, which is invoked during bpf_map__attach_struct_ops(). Signed-off-by: Jörn-Thorben Hinz <jthinz@mailbox.tu-berlin.de> Link: https://lore.kernel.org/r/20220622191227.898118-5-jthinz@mailbox.tu-berlin.de Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sock_fields.c')
0 files changed, 0 insertions, 0 deletions