HomeFreeBSD

CC Cubic: fix underflow for cubic_cwnd()

Description

CC Cubic: fix underflow for cubic_cwnd()

Singed calculations in cubic_cwnd() can result in negative cwnd
value which is then cast to an unsigned value. Values less than
1 mss are generally bad for other parts of the code, also fixed.

Submitted by: Jason Eggleston <jason@eggnet.com>
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D14141

Details

Provenance
sbrunoAuthored on Mar 26 2018, 7:53 PM
Parents
rG7953f98e2356: vmci(4): Fix GCC build and rationalize vmci_kernel_defs.h
Branches
Unknown
Tags
Unknown

Event Timeline