2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev)

* tcp_in.c: fix bug# 21535 (nrtx not reset correctly in SYN_SENT stat)e
This commit is contained in:
kieranm 2007-12-20 14:58:43 +00:00
parent 8cc32bc29c
commit add4874801
2 changed files with 6 additions and 1 deletions

View File

@ -526,6 +526,9 @@ HISTORY
++ Bug fixes:
2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev)
* tcp_in.c: fix bug# 21535 (nrtx not reset correctly in SYN_SENT stat)e
2007-12-20 Kieran Mansley (based on patch from Per-Henrik Lundbolm)
* tcp.c, tcp_in.c, tcp_out.c, tcp.h: fix bug #20199 (better handling
of silly window avoidance and prevent lwIP from shrinking the window)

View File

@ -539,8 +539,10 @@ tcp_process(struct tcp_pcb *pcb)
timer, otherwise reset it to start again */
if(pcb->unacked == NULL)
pcb->rtime = -1;
else
else {
pcb->rtime = 0;
pcb->nrtx = 0;
}
tcp_seg_free(rseg);