MdeModulePkg: Addressing TCP Window Retraction when window scale factor is used.
The RFC1323 which defines the TCP window scale option has been obsoleted by RFC7323.
This patch is to follow the RFC7323 to address the TCP window retraction problem
when a non-zero scale factor is used.
The changes has been test in high packet loss rate network by using HTTP boot and
iSCSI file read/write.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
(cherry picked from commit ca12a0c83b
)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Tcp Protocol header file.
|
||||
|
||||
Copyright (c) 2005 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2005 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -250,6 +250,12 @@ struct _TCP_CB {
|
||||
UINT32 TimeWaitTimeout; ///< The TIME_WAIT time out
|
||||
UINT32 ConnectTimeout; ///< The connect establishment time out
|
||||
|
||||
//
|
||||
// RFC7323
|
||||
// Addressing Window Retraction for TCP Window Scale Option.
|
||||
//
|
||||
TCP_SEQNO RetxmitSeqMax; ///< Max Seq number in previous retransmission.
|
||||
|
||||
//
|
||||
// configuration for tcp provided by user
|
||||
//
|
||||
|
Reference in New Issue
Block a user