summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown2013-09-04 18:37:34 +0200
committerMichael Brown2013-09-04 18:48:58 +0200
commit8dd180f165eb8cd0a8475c0fd19bd6dbf17f95d8 (patch)
tree5de3605c195c4bf5e4df00c14bf6ad0d3aaa23c0 /src/tests
parent[ipv6] Fix uninitialised-variable warning (diff)
downloadipxe-8dd180f165eb8cd0a8475c0fd19bd6dbf17f95d8.tar.gz
ipxe-8dd180f165eb8cd0a8475c0fd19bd6dbf17f95d8.tar.xz
ipxe-8dd180f165eb8cd0a8475c0fd19bd6dbf17f95d8.zip
[tcp] Reduce path MTU to 1280 bytes
The path MTU is currently hardcoded to 1460 bytes, which fails to allow space for TCP options. Sending a maximum-sized datagram (which is viable when using HTTP POST) will therefore fail since the Ethernet MTU will be exceeded. Reduce the hardcoded path MTU to produce a maximum datagram of 1280 bytes, which is the size required of data link layers by IPv6. It is a reasonable assumption that all intermediary data link layers will be able to convey this packet without fragmentation, even for IPv4. Note that this reduction has a minimal impact upon download throughput, since it affects only the transmit data path. Originally-fixed-by: Suresh Sundriyal <ssundriy@vmware.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions