BUG26010: set push bit correctly when tcp segments are merged

This commit is contained in:
kieranm 2009-03-31 10:53:11 +00:00
parent fd41c5de2d
commit e7a2ab5de9
2 changed files with 5 additions and 1 deletions

View File

@ -75,6 +75,9 @@ HISTORY
++ Bugfixes:
2009-03-31 Kieran Mansley
* tcp_out.c: set push bit correctly when tcp segments are merged
2009-03-27 Kieran Mansley
* tcp_out.c set window correctly on probes (correcting change made
yesterday)

View File

@ -345,7 +345,8 @@ tcp_enqueue(struct tcp_pcb *pcb, void *arg, u16_t len,
LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("tcp_enqueue: chaining segments, new len %"U16_F"\n", useg->len));
if (seg == queue) {
seg = NULL;
seg = useg;
seglen = useg->len;
}
memp_free(MEMP_TCP_SEG, queue);
}