From: tye1 Date: Fri, 19 Apr 2013 06:39:30 +0000 (+0000) Subject: Add transit bit check for detecting partial response in iSCSI stack. X-Git-Tag: edk2-stable201903~12585 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=58df7da72b74dde1d8f66bc6e11e62b98f25916b Add transit bit check for detecting partial response in iSCSI stack. Signed-off-by: Ye Ting Reviewed-by: Fu Siyuan Reviewed-by: Tian Feng git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14296 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c index b1f250b55e..aff036bb7a 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c @@ -1,7 +1,7 @@ /** @file The implementation of iSCSI protocol based on RFC3720. -Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.
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 @@ -742,7 +742,7 @@ IScsiProcessLoginRsp ( NetbufQueAppend (&Conn->RspQue, Pdu); Conn->PartialRspRcvd = Continue; - if (Continue) { + if ((!Transit) || Continue) { // // It's a partial response, have to wait for another or more Request/Response // conversations to get the full response.