summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-05-22 23:58:32 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-05-22 23:58:32 -0700
commit7f2f6e3cec8eca7710acdd0b82b095834aecd400 (patch)
tree789491a5ea8e2de70bcb6b9ab270df64a7a1a233
parentb901a125510486e190dd841dfa616cafff0c9242 (diff)
downloadsyslinux-7f2f6e3cec8eca7710acdd0b82b095834aecd400.tar.gz
Drop TFTP_MTU to 1440.
Drop TFTP_MTU to 1440. This gives TFTP_LARGE_BLK = 1408 = 0x580, which is the roundest number without dropping the MTU significantly below the standard Ethernet MTU.
-rw-r--r--pxelinux.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pxelinux.asm b/pxelinux.asm
index 3e50245f..e8995eb8 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -41,7 +41,7 @@ PKT_TIMEOUT equ 12 ; Initial timeout, timer ticks @ 55 ms
; For Ethernet MTU is normally 1500. Unfortunately there seems to
; be a fair number of networks with "substandard" MTUs which break.
; The code assumes TFTP_LARGEBLK <= 2K.
-TFTP_MTU equ 1472
+TFTP_MTU equ 1440
TFTP_LARGEBLK equ (TFTP_MTU-20-8-4) ; MTU - IP hdr - UDP hdr - TFTP hdr
; Standard TFTP block size
TFTP_BLOCKSIZE_LG2 equ 9 ; log2(bytes/block)