lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #21492] TCP MSS can be larger than MTU


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #21492] TCP MSS can be larger than MTU
Date: Thu, 01 Nov 2007 16:08:29 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8

URL:
  <http://savannah.nongnu.org/bugs/?21492>

                 Summary: TCP MSS can be larger than MTU
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Donnerstag 01.11.2007 um 16:08
                Category: TCP
                Severity: 3 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

This might currently not be a problem for most users, but (according to RFC
1122, chapter 4.2.2.6), the MSS should be the minimum of the received MSS
(option) and the 'MTU-minus-headersize'-(calculated)-MSS (effectivly MTU-20
for us).

I think this is very straightforward: since netif already holds the MTU, just
call ip_route on connection setup and calculate the "effective send MSS" based
on the netif's MTU.

This is also a precondition for effectively using path MTU discovery with
TCP.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21492>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]