mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 09:16:20 +00:00
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:
parent
a6ab0405ea
commit
58b64d42f1
@ -580,6 +580,7 @@ tcp_rexmit(struct tcp_pcb *pcb)
|
|||||||
/* Move the first unacked segment to the unsent queue */
|
/* Move the first unacked segment to the unsent queue */
|
||||||
seg = pcb->unacked->next;
|
seg = pcb->unacked->next;
|
||||||
pcb->unacked->next = pcb->unsent;
|
pcb->unacked->next = pcb->unsent;
|
||||||
|
pcb->unsent = pcb->unacked;
|
||||||
pcb->unacked = seg;
|
pcb->unacked = seg;
|
||||||
|
|
||||||
pcb->snd_nxt = ntohl(pcb->unsent->tcphdr->seqno);
|
pcb->snd_nxt = ntohl(pcb->unsent->tcphdr->seqno);
|
||||||
|
Loading…
Reference in New Issue
Block a user