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

Submitted by:  Oleg Tyshev <olegreen>
Submitted on:  Wed 07 Nov 2007 04:31:46 PM UTC  
 
Category:  TCP Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  Kieran Mansley <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>
Project MemberIn charge of this item.
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>

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.5