• Nicholas Bellinger's avatar
    iscsi-target: Fix non-immediate TMR handling · 5a4c8666
    Nicholas Bellinger authored
    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 <agrover@redhat.com>
    Cc: stable@kernel.org
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    5a4c8666
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt/kvm Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...