diff options
| author | Nicholas Bellinger <[email protected]> | 2011-10-28 20:37:19 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2011-11-02 15:57:13 +0000 |
| commit | 5a4c8666c6d576f076a7c6824589cdbb984c0f84 (patch) | |
| tree | cd4eb1d2c67ff7cf99b4de4e9420c6c1df5b1085 /lib/mpi/mpi-cmp.c | |
| parent | iscsi-target: Add missing CMDSN_LOWER_THAN_EXP check in iscsit_handle_scsi_cmd (diff) | |
| download | kernel-5a4c8666c6d576f076a7c6824589cdbb984c0f84.tar.gz kernel-5a4c8666c6d576f076a7c6824589cdbb984c0f84.zip | |
iscsi-target: Fix non-immediate TMR handling
This patch addresses two issues with non immediate TMR handling in
iscsit_handle_task_mgt_cmd(). The first involves breakage due to
v3.1-rc conversion of iscsit_sequence_cmd(), which upon good status
would hit the iscsit_add_reject_from_cmd() block of code. This patch
adds an explict check for CMDSN_ERROR_CANNOT_RECOVER.
The second adds a check to return when non immediate TMR operation is
detected after iscsit_ack_from_expstatsn(), as iscsit_sequence_cmd()
-> iscsit_execute_cmd() will have called transport_generic_handle_tmr()
for the non immediate TMR case already.
Cc: Andy Grover <[email protected]>
Cc: [email protected]
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
