lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #34587] TCP_BUILD_MSS_OPTION doesn't consider netif->m


From: Amir Shalem
Subject: [lwip-devel] [bug #34587] TCP_BUILD_MSS_OPTION doesn't consider netif->mtu, causes slow network
Date: Tue, 18 Oct 2011 15:05:32 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1

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

                 Summary: TCP_BUILD_MSS_OPTION doesn't consider netif->mtu,
causes slow network
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: amirshalem
            Submitted on: Tue 18 Oct 2011 03:05:31 PM GMT
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

TCP_BUILD_MSS_OPTION() only uses TCP_MSS value,
then if netif->mtu is smaller than TCP_MSS then there will be a lot of IP
fragmentation when packets will be going out = very slow network.

TCP_BUILD_MSS_OPTION should consider the route to dest_addr, and ask the netif
his mtu, and lower the tcp mss if required.

Thanks,
Amir Shalem




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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