buglwIP - A Lightweight TCP/IP stack - Bugs: bug #44023, TCP: ssthresh value is unclear

 
 

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

bug #44023: TCP: ssthresh value is unclear

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Fri 16 Jan 2015 04:35:58 PM UTC  
 
Category: TCPSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Sun 30 Aug 2015 06:48:29 PM UTC, comment #1:

fixed: ssthresh is set to the full send window for active open, too, and is updated once after SYN to ensure the correct send window is used

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Fri 16 Jan 2015 04:35:58 PM UTC, original submission:

There are some things unclear to me in the value of ssthresh:

- it is set to "pcb->mss * 10" when connecting (for client connections): why 10 * MSS?

- it is set to *the full snd_wnd" in tcp_listen_input() (for server connections)

- thus it is different for server/client

- in addition, for server connections, the value is wrong if the remote host supports window scaling but we don't: ssthresh is just set on the (unscaled) window value passed in the SYN and never changed (unless there are retransmissions, of course)

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.

 

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 goldsimon (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 30 Aug 2015 06:48:29 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1