pdu: set pdu->cmdsn when the pdu structure is updated

Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
Peter Lieven
2015-03-30 12:31:24 +02:00
parent 395ca12746
commit 153e6ba07c
6 changed files with 5 additions and 10 deletions

View File

@@ -73,7 +73,6 @@ iscsi_task_mgmt_async(struct iscsi_context *iscsi,
/* cmdsn is not increased if Immediate delivery*/
iscsi_pdu_set_cmdsn(pdu, iscsi->cmdsn);
pdu->cmdsn = iscsi->cmdsn;
/* rcmdsn */
iscsi_pdu_set_rcmdsn(pdu, rcmdsn);