HomeFreeBSD

TCP PRR: Patch div/0 in tcp_prr_partialack

Description

TCP PRR: Patch div/0 in tcp_prr_partialack

With clearing of recover_fs in bc7ee8e5bc555, div/0
was observed while processing partial_acks.

Suspect that rewind of an erraneous RTO may be
causing this - with the above change, recover_fs
would no longer retained at the last calculated
value, and reset. But CC_RTO_ERR can reenable
IN_RECOVERY(), without setting this again.

Adding a safety net prior to the division in that
function, which I missed in D28114.

Details

Provenance
rscheffAuthored on Jan 26 2021, 3:06 PM
Differential Revision
D28326: TCP PRR: Patch div/0 in tcp_prr_partialack
Parents
rG84761f3df508: Adjust line length in tcp_prr_partialack
Branches
Unknown
Tags
Unknown