Fixed bug #21582: pcb->acked accounting can be wrong when ACKs arrive out-of-order

This commit is contained in:
goldsimon
2007-11-26 19:08:39 +00:00
parent 181b68b01e
commit f57c2424cf
2 changed files with 7 additions and 0 deletions

View File

@@ -833,6 +833,9 @@ tcp_receive(struct tcp_pcb *pcb)
pcb->rtime = 0;
pcb->polltmr = 0;
} else {
/* Fix bug bug #21582: out of sequence ACK, didn't really ack anything */
pcb->acked = 0;
}
/* We go through the ->unsent list to see if any of the segments