mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-12-10 08:46:40 +08:00
patch #2200 from Karl Jeacle, fixes tcp_output
This commit is contained in:
parent
4c4fd7e408
commit
2e6d032691
@ -363,7 +363,13 @@ tcp_output(struct tcp_pcb *pcb)
|
||||
|
||||
|
||||
seg = pcb->unsent;
|
||||
useg = pcb->unacked;
|
||||
|
||||
/* useg should point to last segment on unacked queue */
|
||||
useg = pcb->unacked;
|
||||
if (useg != NULL) {
|
||||
for (; useg->next != NULL; useg = useg->next);
|
||||
}
|
||||
|
||||
|
||||
/* If the TF_ACK_NOW flag is set, we check if there is data that is
|
||||
to be sent. If data is to be sent out, we'll just piggyback our
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user