diff options
| author | Jörn-Thorben Hinz <jthinz@mailbox.tu-berlin.de> | 2022-06-22 21:12:26 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-06-23 09:49:57 -0700 |
| commit | 0735627d78caa56f219dc14608ce0bdbd045e07e (patch) | |
| tree | db73228f689f24814d6955f295e150e0ce1e2213 /tools/testing/selftests/bpf/prog_tests/sock_fields.c | |
| parent | selftests/bpf: Test a BPF CC writing sk_pacing_* (diff) | |
| download | linux-0735627d78caa56f219dc14608ce0bdbd045e07e.tar.gz linux-0735627d78caa56f219dc14608ce0bdbd045e07e.zip | |
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
