[Top][All Lists]

[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: Tue, 13 Nov 2007 20:56:50 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20071025 Firefox/

Follow-up Comment #1, bug #21492 (project lwip):

In this patch, I introduced a function tcp_eff_send_mss() that takes a
configured mss (the one currently set to pcb->mss in tcp_connect or
tcp_listen_input/tcp_process) and calculates the mss_s based on the mtu of the
netif used to reach pcb->remote_ip (through ip_route).

So effectively, if mtu doesn't allow mss as big as the currently set
pcb->mss, it will now be set smaller. Without the patch, things wouldn't work
at all if mtu is smaller than mss(+header), which makes me worry whether we
really need this...

It seemed kind of mandatory to me when readinf RFC 1122 :-)

(file #14383)

Additional Item Attachment:

File name: effsendmss.patch               Size:2 KB


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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