Skip to content

Allow BPF TCP CCs to write app_limited

Yixin Shen bpf 2 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Merge the test of writing app_limited into the test of writing sk_pacing. (Martin KaFai Lau)

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: allow a TCP CC to write app_limitednet/ipv4/bpf_tcp_ca.c+3 -00 repliesApplied
2/2selftests/bpf: test a BPF CC writing app_limitedtools/testing/selftests/bpf/progs/tcp_ca_write_sk_pacing.c+12 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH bpf-next v2 0/2] Allow BPF TCP CCs to write app_limited

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.

v2:
- Merge the test of writing app_limited into the test of writing sk_pacing. (Martin KaFai Lau)

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/progs/tcp_ca_write_sk_pacing.c    | 13 ++++++++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)
Signature · 1 line
2.25.1