diff options
author | Alexei Starovoitov <ast@kernel.org> | 2022-06-23 09:49:58 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-06-23 09:50:06 -0700 |
commit | bb7a4257892717caf82fe6da45b259b35f73445c (patch) | |
tree | 2f2467f86f8349cf645ce153714272a6770c3f7b /tools/testing/selftests/bpf/prog_tests/sock_fields.c | |
parent | 9676feccacdb0571791c88b23e3b7ac4e7c9c457 (diff) | |
parent | f14a3f644a1c5a2e2dbe6073f51793119a12e6ce (diff) |
Merge branch 'Align BPF TCP CCs implementing cong_control() with non-BPF CCs'
Jörn-Thorben Hinz says:
====================
This series corrects some inconveniences for a BPF TCP CC that
implements and uses tcp_congestion_ops.cong_control(). Until now, such a
CC did not have all necessary write access to struct sock and
unnecessarily needed to implement cong_avoid().
v4:
- Remove braces around single statements after if
- Don’t check pointer passed to bpf_link__destroy()
v3:
- Add a selftest writing sk_pacing_*
- Add a selftest with incomplete tcp_congestion_ops
- Add a selftest with unsupported get_info()
- Remove an unused variable
- Reword a comment about reg() in bpf_struct_ops_map_update_elem()
v2:
- Drop redundant check for required functions and just rely on
tcp_register_congestion_control() (Martin KaFai Lau)
====================
Reviewed-by: Martin KaFai Lau <kafai@fb.com>
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