Revision: 14293
          http://edk2.svn.sourceforge.net/edk2/?rev=14293&view=rev
Author:   tye1
Date:     2013-04-19 06:18:33 +0000 (Fri, 19 Apr 2013)
Log Message:
-----------
Add transit bit check for detecting partial response in iSCSI stack.

Signed-off-by: Ye Ting  <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>
Reviewed-by: Tian Feng <[email protected]>

Modified Paths:
--------------
    branches/UDK2010.SR1/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c

Modified: 
branches/UDK2010.SR1/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
===================================================================
--- branches/UDK2010.SR1/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c   
2013-04-19 01:35:02 UTC (rev 14292)
+++ branches/UDK2010.SR1/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c   
2013-04-19 06:18:33 UTC (rev 14293)
@@ -1,7 +1,7 @@
 /** @file
   The implementation of iSCSI protocol based on RFC3720.
 
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>
 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 @@
   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.

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to