[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #21535] Retransmit Timer in SYN_SENT state
From: |
Oleg Tyshev |
Subject: |
[lwip-devel] [bug #21535] Retransmit Timer in SYN_SENT state |
Date: |
Wed, 07 Nov 2007 16:31:47 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 |
URL:
<http://savannah.nongnu.org/bugs/?21535>
Summary: Retransmit Timer in SYN_SENT state
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: olegreen
Submitted on: Wednesday 11/07/2007 at 16:31
Category: TCP
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
In function tcp_process()
If we receive in SYN_SENT state SYN_ACK packet,
retransmit timer is stopped or restarted.
if(pcb->unacked == NULL)
pcb->rtime = -1;
else
pcb->rtime = 0;
In case restart we should reset retransmit counter.
Updated code look so:
if(pcb->unacked == NULL) {
pcb->rtime = -1;
}
else {
pcb->rtime = 0;
pcb->nrtx = 0;
}
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21535>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #21535] Retransmit Timer in SYN_SENT state,
Oleg Tyshev <=