diff options
author | tye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-04-19 06:19:40 +0000 |
---|---|---|
committer | tye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-04-19 06:19:40 +0000 |
commit | 4304bf6945606b8c3207b1710c038fa237f72f70 (patch) | |
tree | b0ea83c6463389d6da0bf32a0bff1533862ea08c | |
parent | d17c4eac5625e40fa3715aee14286f45797b3999 (diff) | |
download | edk2-4304bf6945606b8c3207b1710c038fa237f72f70.tar.gz edk2-4304bf6945606b8c3207b1710c038fa237f72f70.tar.bz2 edk2-4304bf6945606b8c3207b1710c038fa237f72f70.zip |
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
-rw-r--r-- | NetworkPkg/IScsiDxe/IScsiProto.c | 2 |
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.
|