summaryrefslogtreecommitdiff
path: root/NetworkPkg/IScsiDxe
diff options
context:
space:
mode:
authortye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2013-04-19 06:19:40 +0000
committertye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2013-04-19 06:19:40 +0000
commit4304bf6945606b8c3207b1710c038fa237f72f70 (patch)
treeb0ea83c6463389d6da0bf32a0bff1533862ea08c /NetworkPkg/IScsiDxe
parentd17c4eac5625e40fa3715aee14286f45797b3999 (diff)
downloadedk2-platforms-4304bf6945606b8c3207b1710c038fa237f72f70.tar.xz
Add transit bit check for detecting partial response in iSCSI stack.
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@14294 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/IScsiDxe')
-rw-r--r--NetworkPkg/IScsiDxe/IScsiProto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/IScsiDxe/IScsiProto.c b/NetworkPkg/IScsiDxe/IScsiProto.c
index 3dabb00d4a..d5e0994b53 100644
--- a/NetworkPkg/IScsiDxe/IScsiProto.c
+++ b/NetworkPkg/IScsiDxe/IScsiProto.c
@@ -975,7 +975,7 @@ IScsiProcessLoginRsp (
NetbufQueAppend (&Conn->RspQue, Pdu);
Conn->PartialRspRcvd = Continue;
- if (Continue) {
+ if ((!Transit) || Continue) {
//
// It is a partial response; must wait for another or more Request/Response
// conversations to get the full response.