audk/NetworkPkg/TcpDxe
Fu Siyuan 09c25d1f6c NetworkPkg: 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:35 +08:00
..
ComponentName.c Initialize data and correct faulty logic in TcpComponentNameGetControllerName(). 2015-02-04 06:42:43 +00:00
SockImpl.c NetworkPkg/TcpDxe: Fix GCC build failure 2016-06-14 17:00:22 +08:00
SockImpl.h NetworkPkg: Support TCP Cancel function 2016-06-13 11:51:35 +08:00
SockInterface.c NetworkPkg: Support TCP Cancel function 2016-06-13 11:51:35 +08:00
Socket.h NetworkPkg: Support TCP Cancel function 2016-06-13 11:51:35 +08:00
TcpDispatcher.c NetworkPkg: Source fixes and cleanup for ARMGCC compiles 2014-12-04 00:55:50 +00:00
TcpDriver.c NetworkPkg: Fix typos in comments 2016-07-11 10:29:50 +08:00
TcpDriver.h NetworkPkg: Fix typos in comments 2016-07-11 10:29:50 +08:00
TcpDxe.inf NetworkPkg: INF/DEC file updates to EDK II packages 2014-08-28 05:23:58 +00:00
TcpDxe.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00
TcpDxeExtra.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00
TcpFunc.h 1. Mark the network volatile variables as deprecated in code comments and remove related code to set/get these variable. 2014-05-07 06:17:31 +00:00
TcpInput.c NetworkPkg: Fix bug in TCP which not sending out ACK in certain circumstance. 2016-07-18 10:08:35 +08:00
TcpIo.c Fix issue that TCP server will not response to SYN packet from TCP client in TCP6 module. 2012-08-10 06:32:15 +00:00
TcpMain.c NetworkPkg: Support TCP Cancel function 2016-06-13 11:51:35 +08:00
TcpMain.h NetworkPkg: Support TCP Cancel function 2016-06-13 11:51:35 +08:00
TcpMisc.c NetworkPkg:Fix Network memory leak when calling GetModeData interface 2016-01-28 02:32:43 +00:00
TcpOption.c Add NetworkPkg (P.UDK2010.UP3.Network.P1) 2010-11-01 06:13:54 +00:00
TcpOption.h Add NetworkPkg (P.UDK2010.UP3.Network.P1) 2010-11-01 06:13:54 +00:00
TcpOutput.c Add NetworkPkg (P.UDK2010.UP3.Network.P1) 2010-11-01 06:13:54 +00:00
TcpProto.h Fix issue that TCP server will not response to SYN packet from TCP client in TCP6 module. 2012-08-10 06:32:15 +00:00
TcpTimer.c Add NetworkPkg (P.UDK2010.UP3.Network.P1) 2010-11-01 06:13:54 +00:00