buglwIP - A Lightweight TCP/IP stack - Bugs: bug #21535, Retransmit Timer in SYN_SENT state

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21535: Retransmit Timer in SYN_SENT state

Submitter:  Oleg Tyshev <olegreen>
Submitted:  Wed 07 Nov 2007 04:31:46 PM UTC
   
 
Category:  TCP Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  kieranm
Open/Closed:  Closed Planned Release:  None
lwIP version:  None

Thu 20 Dec 2007 02:59:09 PM UTC, comment #1: 

I've checked in this fix.

Kieran Mansley <kieranm>
Group Member
Wed 07 Nov 2007 04:31:46 PM UTC, original submission:  

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;
}

Oleg Tyshev <olegreen>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kieranm (Updated the item)
  • -email is unavailable- added by olegreen (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-31 kieranm Open/ClosedOpen Closed
    2007-12-20 kieranm StatusNone Fixed
    2007-11-09 kieranm Assigned toNone kieranm
        Planned Release 1.3.0

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code