tcp: improve lost rxt heuristic 65/23665/2
authorFlorin Coras <[email protected]>
Wed, 30 Oct 2019 16:22:14 +0000 (09:22 -0700)
committerAndrew Yourtchenko <[email protected]>
Thu, 6 Feb 2020 12:19:12 +0000 (12:19 +0000)
commit04b4204d9c58c2a68f0d3993e7b73c9040907846
tree3da8d8f22e59c752ab9ba8975c018cbaea12199c
parentc58ef62713a18497e7c56b4cc49699f5e5e57923
tcp: improve lost rxt heuristic

Type: feature

- retransmit first unacked segment if newer retransmitted packets
are acked
- avoid spurious retransmits if recovery ends with sacked bytes

Change-Id: Ic1b56d22e025822edb7609afb136e47440ea6032
Signed-off-by: Florin Coras <[email protected]>
(cherry picked from commit b3dce89a768aaffa2a830ba6579cd3d9c8cd967a)
src/vnet/tcp/tcp.h
src/vnet/tcp/tcp_input.c
src/vnet/tcp/tcp_output.c