[ipxe-devel] Wrong value for TCP_MSS

Michael Brown mcb30 at ipxe.org
Tue Mar 4 13:37:44 UTC 2014


On 14/02/14 14:03, Anton D. Kachalov wrote:
> Recently we've found that TCP_MSS has wrong value for IPv6 packets.
> TCP_MSS calculates for MTU=1500 as "MTU_size - sizeof(ipv4 header) -
> sizeof(TCP header)", means 1500 - 20 - 20 = 1460.
> For IPv6 we get sizeof(ipv6 header) for 20 bytes more, so the resulting
> TCP_MSS should be 1440 instead of 1460.

Should now be fixed:

   http://git.ipxe.org/ipxe.git/commitdiff/e191298

Michael



More information about the ipxe-devel mailing list