HomeFreeBSD

Introduce a lower bound of 2 MSS to TCP Cubic.

Description

Introduce a lower bound of 2 MSS to TCP Cubic.

Running TCP Cubic together with ECN could end up reducing cwnd down to 1 byte, if the
receiver continously sets the ECE flag, resulting in very poor transmission speeds.

In line with RFC6582 App. B, a lower bound of 2 MSS is introduced, as well as a typecast
to prevent any potential integer overflows during intermediate calculation steps of the
adjusted cwnd.

Reported by: Cheng Cui
Reviewed by: tuexen (mentor)
Approved by: tuexen (mentor)
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D23353

Details

Provenance
rscheffAuthored on Apr 30 2020, 11:11 AM
Parents
rG80a623bf52f7: loader.conf(5): document that loader_conf_files may be clobbered
Branches
Unknown
Tags
Unknown

Event Timeline