Merge with IET r277: Fix TTT for final PDU. For Text Response it must be ISCSI_RESERVED_TAG.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1646 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-04-21 22:28:38 +00:00
parent f025190b53
commit 7cdcc6e43a

View File

@@ -961,8 +961,10 @@ static void cmnd_exec_text(struct connection *conn)
}
if (list_empty(&conn->rsp_buf_list) ||
list_length_is_one(&conn->rsp_buf_list))
list_length_is_one(&conn->rsp_buf_list)) {
rsp->flags = ISCSI_FLG_FINAL;
conn->ttt = ISCSI_RESERVED_TAG;
}
rsp->ttt = conn->ttt;