Additional fix for TCP retransmit fix (as discussed by Sam Jansen en Kieran Mansley on lwip-devel, July 13 2004).

This commit is contained in:
likewise 2004-07-14 23:21:53 +00:00
parent a6ab0405ea
commit 58b64d42f1

View File

@ -580,6 +580,7 @@ tcp_rexmit(struct tcp_pcb *pcb)
/* Move the first unacked segment to the unsent queue */
seg = pcb->unacked->next;
pcb->unacked->next = pcb->unsent;
pcb->unsent = pcb->unacked;
pcb->unacked = seg;
pcb->snd_nxt = ntohl(pcb->unsent->tcphdr->seqno);