audk/MdeModulePkg/Universal/Network
Fu Siyuan 977528bad7 MdeModulePkg: Fix bug in TCP which not sending out ACK in certain circumstance.
Consider the situation as shown in below chart. The last ACK message has
acknowledged the Tcb->RcvWl2, and all the segments until Tcb->RcvNxt have
been received by TCP driver. The Tcb->RcvNxt is not acknowledged due to the
delayed ACK. In this case an incoming segment (Seg->Seq, Seg->End) should
not be accepted by TCP driver, and an immediate ACK is required.

Current TcpSeqAcceptable() thought it’s an acceptable segment incorrectly, it
continues the TcpInput() process instead of sending out an ACK and droping the
segment immediately.

Tcb->RcvWl2                       Tcb->RcvNxt        Tcb->RcvWl2 + Tcb->RcvWnd
        Seg->Seq       Seg->End         |                          |
    |     |               |             |                          |
 ---+-----+---------------+-------------+--------------------------+-----------
           <income segment>             <----Acceptable Range--- -->

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-By: Eugene Cohen <eugene@hp.com>
Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-By: Ye Ting <ting.ye@intel.com>
2016-07-18 10:08:43 +08:00
..
ArpDxe MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Dhcp4Dxe MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
DpcDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
IScsiDxe MedmodulePkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration. 2016-06-23 09:39:23 +08:00
Ip4Dxe MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
MnpDxe MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Mtftp4Dxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SnpDxe MdeModulePkg: Fix SNP.Initialize() spec conformance issue 2016-06-02 10:25:58 +08:00
Tcp4Dxe MdeModulePkg: Fix bug in TCP which not sending out ACK in certain circumstance. 2016-07-18 10:08:43 +08:00
Udp4Dxe MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
UefiPxeBcDxe MdeModulePkg: Fix build error in the PXE driver. 2016-07-12 10:00:05 +08:00
VlanConfigDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00