]> git.meshlink.io Git - utcp/commitdiff
Reset the snd.nxt pointer when starting packet retransmission.
authorGuus Sliepen <guus@meshlink.io>
Sun, 11 Oct 2015 21:39:23 +0000 (23:39 +0200)
committerGuus Sliepen <guus@sliepen.org>
Sun, 2 Jul 2017 10:01:32 +0000 (12:01 +0200)
When a packet was lost, and the send buffer contains more than two packets,
this only retransmitted the first packet from the send buffer, then when it
got acked it would continue with the tail of the buffer. Then it would have
to wait for another timeout to send the next packet from the start of the
send buffer. If the application is continuously sending data, then the send
buffer would never become empty and the problem would persist.


No differences found