diff options
author | Jörn-Thorben Hinz <jthinz@mailbox.tu-berlin.de> | 2022-06-22 21:12:23 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-06-23 09:49:57 -0700 |
commit | 41c95dd6a604dc3f5fae55c99c138cc8e7fec76e (patch) | |
tree | 5c10deab27a78ce45f2989ef3306c512bf82f292 /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | |
parent | 9676feccacdb0571791c88b23e3b7ac4e7c9c457 (diff) |
bpf: Allow a TCP CC to write sk_pacing_rate and sk_pacing_status
A CC that implements tcp_congestion_ops.cong_control() should be able to
control sk_pacing_rate and set sk_pacing_status, since
tcp_update_pacing_rate() is never called in this case. A built-in CC or
one from a kernel module is already able to write to both struct sock
members. For a BPF program, write access has not been allowed, yet.
Signed-off-by: Jörn-Thorben Hinz <jthinz@mailbox.tu-berlin.de>
Reviewed-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/r/20220622191227.898118-2-jthinz@mailbox.tu-berlin.de
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
0 files changed, 0 insertions, 0 deletions