mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user