]> git.meshlink.io Git - utcp/commitdiff
Reset the retransmission timer when receiving duplicate ACKs.
authorGuus Sliepen <guus@sliepen.org>
Wed, 18 Mar 2020 21:24:52 +0000 (22:24 +0100)
committerGuus Sliepen <guus@sliepen.org>
Wed, 18 Mar 2020 21:24:52 +0000 (22:24 +0100)
While we are getting duplicate ACKs, and are likely in fast recovery,
keep resetting the retransmission timer, so that if fast recovery takes
longer than the RTO, we don't trigger a slow start.

When we do get a real timeout during fast recovery, reset the duplicate
ACK counter to signal we are no longer in fast recovery.

We also should not do anything when receiving duplicate ACKs when all
data has already been ACKed.


No differences found