lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #21491] TCP MSS sent is based on the received MSS opti


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #21491] TCP MSS sent is based on the received MSS option
Date: Thu, 01 Nov 2007 16:02:08 +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/?21491>

                 Summary: TCP MSS sent is based on the received MSS option
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Donnerstag 01.11.2007 um 16:02
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

Currently, the MSS option sent in tcp_connect (active open) and
tcp_listen_input (passive open) is based on pcb->mss instead of TCP_MSS.

While in tcp_connect, this is is OK (because pcb->mss is set to TCP_MSS just
before), this leads to advertising the remote MSS in tcp_listen_input.

I'd make this a define TCP_BUILD_MSS_OPTION() (that's based on TCP_MSS) in
both cases, which also removes redundant source code.

Any objections?




    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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