From 7f2f6e3cec8eca7710acdd0b82b095834aecd400 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 22 May 2007 23:58:32 -0700 Subject: [PATCH] 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. --- pxelinux.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pxelinux.asm b/pxelinux.asm index 3e50245..e8995eb 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) -- 2.7.4