]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add transit bit check for detecting partial response in iSCSI stack.
authortye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 19 Apr 2013 06:39:30 +0000 (06:39 +0000)
committertye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 19 Apr 2013 06:39:30 +0000 (06:39 +0000)
Signed-off-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14296 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c

index b1f250b55e5ee843186e9df113148ffd6d586b90..aff036bb7afe67173d931c4302b35e2aeaaff442 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The implementation of iSCSI protocol based on RFC3720.\r
 \r
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -742,7 +742,7 @@ IScsiProcessLoginRsp (
   NetbufQueAppend (&Conn->RspQue, Pdu);\r
 \r
   Conn->PartialRspRcvd = Continue;\r
-  if (Continue) {\r
+  if ((!Transit) || Continue) {\r
     //\r
     // It's a partial response, have to wait for another or more Request/Response\r
     // conversations to get the full response.\r