R2T: Reset datasn to 0 everytime we start a new sequence from r2t

This commit is contained in:
Ronnie Sahlberg
2012-08-01 13:44:03 +10:00
parent 1f98c40edf
commit 98b0a757b2

View File

@@ -503,6 +503,7 @@ iscsi_process_r2t(struct iscsi_context *iscsi, struct iscsi_pdu *pdu,
offset = ntohl(*(uint32_t *)&in->hdr[40]);
len = ntohl(*(uint32_t *)&in->hdr[44]);
pdu->datasn = 0;
iscsi_send_data_out(iscsi, pdu, ttt, offset, len);
return 0;
}