Commit 0325cbd2 authored by Miao Xu's avatar Miao Xu Committed by Martin KaFai Lau
Browse files

bpf: tcp: Allow to write tp->snd_cwnd_stamp in bpf_tcp_ca



This patch allows the write of tp->snd_cwnd_stamp in a bpf tcp
ca program. An use case of writing this field is to keep track
of the time whenever tp->snd_cwnd is raised or reduced inside
the `cong_control` callback.

Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarMiao Xu <miaxu@meta.com>
Link: https://lore.kernel.org/r/20240502042318.801932-3-miaxu@meta.com


Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent 57bfc760
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment