linux/drivers/infiniband/ulp
Jenny Derzhavetz a4c15cd957 iser-target: remove command with state ISTATE_REMOVE
As documented in iscsit_sequence_cmd:
/*
 * Existing callers for iscsit_sequence_cmd() will silently
 * ignore commands with CMDSN_LOWER_THAN_EXP, so force this
 * return for CMDSN_MAXCMDSN_OVERRUN as well..
 */

We need to silently finish a command when it's in ISTATE_REMOVE.
This fixes an teardown hang we were seeing where a mis-behaved
initiator (triggered by allocation error injections) sent us a
cmdsn which was lower than expected.

Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Cc: <stable@vger.kernel.org> # v3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2015-09-15 15:47:19 -07:00
..
ipoib IB/ipoib: Suppress warning for send only join failures 2015-09-03 17:11:05 -04:00
iser IB/core: Make ib_dealloc_pd return void 2015-08-30 18:12:39 -04:00
isert iser-target: remove command with state ISTATE_REMOVE 2015-09-15 15:47:19 -07:00
srp IB/srp: Fix possible protection fault 2015-09-03 15:59:48 -04:00
srpt ib_srpt: Remove ib_get_dma_mr calls 2015-08-30 18:12:35 -04:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00