From 58b64d42f1313134771693f0155be1e381138a4e Mon Sep 17 00:00:00 2001 From: likewise Date: Wed, 14 Jul 2004 23:21:53 +0000 Subject: [PATCH] Additional fix for TCP retransmit fix (as discussed by Sam Jansen en Kieran Mansley on lwip-devel, July 13 2004). --- src/core/tcp_out.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/tcp_out.c b/src/core/tcp_out.c index 53d1f167..a356fc21 100644 --- a/src/core/tcp_out.c +++ b/src/core/tcp_out.c @@ -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);