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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user