Skip to content

tcp: prevent CUBIC ACKs from reducing cwnd - #13958

Open
wwqgtxx wants to merge 1 commit into
google:masterfrom
wwqgtxx:patch-2
Open

tcp: prevent CUBIC ACKs from reducing cwnd#13958
wwqgtxx wants to merge 1 commit into
google:masterfrom
wwqgtxx:patch-2

Conversation

@wwqgtxx

@wwqgtxx wwqgtxx commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

CUBIC currently applies the per-ACK window update even when the computed W_cubic(t + RTT) value is below the current congestion window. In that case, the update becomes negative and receiving an ACK can reduce cwnd without a congestion signal.

Clamp the computed CUBIC window to the current cwnd before processing ACKs. This applies the lower-bound rule from RFC 9438, Section 4.2, and ensures that ACK processing does not reduce the congestion window.

Clamp the computed CUBIC window to the current congestion window before processing ACKs. This prevents ACK processing from reducing cwnd when the computed target falls below it, as required by RFC 9438 section 4.2.
@github-actions
github-actions Bot requested review from shailend-g and xinzhong August 3, 2026 12:08
@EtiennePerot
EtiennePerot requested review from nybidari and removed request for shailend-g and xinzhong August 3, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants