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: TCPSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Kieran Mansley <kieranm>
Open/Closed: ClosedPlanned 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 AdministratorIn 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
  • -unavailable- added by kieranm (Updated the item)
  • -unavailable- added by olegreen (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Dec 2007 01:36:15 PM UTCkieranmOpen/ClosedOpen=>Closed
    Thu 20 Dec 2007 02:59:09 PM UTCkieranmStatusNone=>Fixed
    Fri 09 Nov 2007 12:57:03 PM UTCkieranmAssigned toNone=>kieranm
      Planned Release=>1.3.0

    Back to the top


    Powered by Savane 3.1-cleanup1