linux-uconsole/drivers/infiniband/ulp
Bart Van Assche 5ce5ebfa00 scsi: RDMA/isert: Fix a recently introduced regression related to logout
commit 04060db411 upstream.

iscsit_close_connection() calls isert_wait_conn(). Due to commit
e9d3009cb9 both functions call target_wait_for_sess_cmds() although that
last function should be called only once. Fix this by removing the
target_wait_for_sess_cmds() call from isert_wait_conn() and by only calling
isert_wait_conn() after target_wait_for_sess_cmds().

Fixes: e9d3009cb9 ("scsi: target: iscsi: Wait for all commands to finish before freeing a session").
Link: https://lore.kernel.org/r/20200116044737.19507-1-bvanassche@acm.org
Reported-by: Rahul Kundu <rahul.kundu@chelsio.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-29 16:43:21 +01:00
..
ipoib IB/ipoib: Ensure that MTU isn't less than minimum permitted 2019-11-20 18:46:02 +01:00
iser IB/iser: Fix dma_nents type definition 2020-01-27 14:51:22 +01:00
isert scsi: RDMA/isert: Fix a recently introduced regression related to logout 2020-01-29 16:43:21 +01:00
opa_vnic IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds 2019-11-24 08:19:28 +01:00
srp RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer 2019-12-05 09:20:40 +01:00
srpt RDMA/srpt: Report the SCSI residual to the initiator 2020-01-17 19:47:03 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00