[PATCH net v2 0/2] tcp_metrics: fix hanlding of route options

From: Petr Tesarik
Date: Fri Jun 20 2025 - 08:57:34 EST


I ran into a couple of issues while trying to tweak TCP congestion
avoidance to analyze a potential performance regression. It turns out
that overriding the parameters with ip-route(8) does not work as
expected and appears to be buggy.

Changes in v2:
- more background information in the cwnd commit message
- fix handling of initial TCP Slow Start if cwnd is clamped

Petr Tesarik (2):
tcp_metrics: set congestion window clamp from the dst entry
tcp_metrics: use ssthresh value from dst if there is no metrics

net/ipv4/tcp_metrics.c | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)

--
2.49.0