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
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
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
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
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
TcpOption.h
TcpOutput.c
TcpProto.h
TcpTimer.c