Fix test to actually do what the comment says and send too low CmdSN.
This commit is contained in:
@@ -31,7 +31,7 @@ static int my_iscsi_queue_pdu(struct iscsi_context *iscsi, struct iscsi_pdu *pdu
|
|||||||
switch (change_cmdsn) {
|
switch (change_cmdsn) {
|
||||||
case 1:
|
case 1:
|
||||||
/* change the cmdsn so it becomes too big */
|
/* change the cmdsn so it becomes too big */
|
||||||
scsi_set_uint32(&pdu->outdata.data[24], iscsi->expcmdsn + 1);
|
scsi_set_uint32(&pdu->outdata.data[24], iscsi->expcmdsn - 1);
|
||||||
/* fudge the cmdsn value back to where it should be if this
|
/* fudge the cmdsn value back to where it should be if this
|
||||||
* pdu is ignored.
|
* pdu is ignored.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user