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
Reviewer
cc
Differential Revision
D25746: Address unintended jump of calculated cwnd when leaving slowstart
Parents
rS364195: Improve SACK support code for RFC6675 and PRR
Branches
Unknown
Tags
Unknown