mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 00:23:39 +08:00
Fixed bug #21582: pcb->acked accounting can be wrong when ACKs arrive out-of-order
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user