HomeFreeBSD

TCP Cubic: After leaving slowstart fix unintended cwnd jump.

Description

TCP Cubic: After leaving slowstart fix unintended cwnd jump.

Initializing K to zero in D23655 introduced a miscalculation,
where cwnd would suddenly jump to cwnd_max instead of gradually
increasing, after leaving slow-start.

Properly calculating K instead of resetting it to zero resolves
this issue. Also making sure, that cwnd is recalculated at the
earliest opportunity once slow-start is over.

Reported by: chengc_netapp.com
Reviewed by: chengc_netapp.com, tuexen (mentor), rgrimes (mentor)
Approved by: tuexen (mentor), rgrimes (mentor)
MFC after: 3 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D25746

Details

Provenance
rscheffAuthored on Aug 13 2020, 4:38 PM
Parents
rGf359d6ebbcce: Improve SACK support code for RFC6675 and PRR
Branches
Unknown
Tags
Unknown

Event Timeline