From: Alexei Starovoitov Date: Thu, 23 Jun 2022 16:49:58 +0000 (-0700) Subject: Merge branch 'Align BPF TCP CCs implementing cong_control() with non-BPF CCs' X-Git-Tag: v6.0-rc1~141^2~163^2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb7a4257892717caf82fe6da45b259b35f73445c;p=thirdparty%2Flinux.git 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 Signed-off-by: Alexei Starovoitov --- bb7a4257892717caf82fe6da45b259b35f73445c