From 4304bf6945606b8c3207b1710c038fa237f72f70 Mon Sep 17 00:00:00 2001 From: tye1 Date: Fri, 19 Apr 2013 06:19:40 +0000 Subject: 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@14294 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/IScsiDxe/IScsiProto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3