[syslinux:lwip] Make sure TCP_WND is < 64K-TCP_MSS

syslinux-bot for H. Peter Anvin hpa at zytor.com
Fri Apr 22 20:05:45 PDT 2011


Commit-ID:  865b6a1149b7a9dd05c07919c89719e1b114577b
Gitweb:     http://syslinux.zytor.com/commit/865b6a1149b7a9dd05c07919c89719e1b114577b
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Thu, 17 Sep 2009 17:25:36 -0700
Committer:  Eric W. Biederman <ebiederm at xmission.com>
CommitDate: Tue, 12 Apr 2011 14:40:53 -0700

Make sure TCP_WND is < 64K-TCP_MSS

Avoid an error "len would wrap tcp_wnd"

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 core/lwip/src/include/lwipopts.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
index c10a277..c46b057 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__ */



More information about the Syslinux-commits mailing list