This series allow BPF TCP CCs to write app_limited of struct tcp_sock. A built-in CC or one from a kernel module is already able to write to app_limited of struct tcp_sock. Until now, a BPF CC doesn't have write access to this member of struct tcp_sock. Yixin Shen (2): bpf: allow a TCP CC to write app_limited selftests/bpf: test a BPF CC writing app_limited net/ipv4/bpf_tcp_ca.c | 3 + .../selftests/bpf/prog_tests/bpf_tcp_ca.c | 19 +++++ .../bpf/progs/tcp_ca_write_app_limited.c | 71 +++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 tools/testing/selftests/bpf/progs/tcp_ca_write_app_limited.c -- 2.25.1