selftests/bpf: test a BPF CC writing app_limited
authorYixin Shen <bobankhshen@gmail.com>
Wed, 29 Mar 2023 07:35:58 +0000 (07:35 +0000)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 29 Mar 2023 20:10:56 +0000 (13:10 -0700)
commit4239561b69feb94e52e43d93685cc46fb9dbcae5
treee16331d33a1dab203c847b830d862e3a3a09a559
parent562dc56a88983421a6c5a46e0feb891873d118a1
selftests/bpf: test a BPF CC writing app_limited

Test whether a TCP CC implemented in BPF is allowed to write
app_limited in struct tcp_sock. This is already allowed for
the built-in TCP CC.

Signed-off-by: Yixin Shen <bobankhshen@gmail.com>
Link: https://lore.kernel.org/r/20230329073558.8136-3-bobankhshen@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/progs/tcp_ca_write_sk_pacing.c