summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/tcp_ca_incompl_cong_ops.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests/bpf: Test an incomplete BPF CCJörn-Thorben Hinz2022-06-231-0/+35
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>