aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-09-17 17:25:36 -0700
committerEric W. Biederman <ebiederm@xmission.com>2011-04-12 14:40:53 -0700
commit865b6a1149b7a9dd05c07919c89719e1b114577b (patch)
treef4ed8db19d0b76fc777d85d943199e14217093f5 /core
parent7bffc3a00ee5b491ec27242bdbe3afba1c532eee (diff)
downloadsyslinux-865b6a1149b7a9dd05c07919c89719e1b114577b.tar.gz
syslinux-865b6a1149b7a9dd05c07919c89719e1b114577b.tar.xz
syslinux-865b6a1149b7a9dd05c07919c89719e1b114577b.zip
Make sure TCP_WND is < 64K-TCP_MSS
Avoid an error "len would wrap tcp_wnd" Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core')
-rw-r--r--core/lwip/src/include/lwipopts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
index c10a2774..c46b0576 100644
--- a/core/lwip/src/include/lwipopts.h
+++ b/core/lwip/src/include/lwipopts.h
@@ -45,8 +45,8 @@
#define LWIP_DNS 1
#define DNS_TABLE_SIZE 16
#define DNS_MAX_SERVERS 4
-#define TCP_WND 0xff00
#define TCP_MSS 1460
+#define TCP_WND 0xf800
#define TCP_SND_BUF 4096
#endif /* __LWIPOPTS_H__ */