|
@@ -1309,7 +1309,7 @@ iscsit_check_dataout_hdr(struct iscsi_conn *conn, unsigned char *buf,
|
|
|
if (cmd->data_direction != DMA_TO_DEVICE) {
|
|
|
pr_err("Command ITT: 0x%08x received DataOUT for a"
|
|
|
" NON-WRITE command.\n", cmd->init_task_tag);
|
|
|
- return iscsit_reject_cmd(cmd, ISCSI_REASON_PROTOCOL_ERROR, buf);
|
|
|
+ return iscsit_dump_data_payload(conn, payload_length, 1);
|
|
|
}
|
|
|
se_cmd = &cmd->se_cmd;
|
|
|
iscsit_mod_dataout_timer(cmd);
|