diff options
author | Bart Van Assche <[email protected]> | 2020-01-15 20:47:37 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-01-21 00:24:46 -0500 |
commit | 04060db41178c7c244f2c7dcd913e7fd331de915 (patch) | |
tree | c56d6bee447c80e9ccf0e1d3943a7a1bae866e52 /scripts/gdb/linux/timerlist.py | |
parent | 0e2209629fec427ba75a6351486153a9feddd36b (diff) |
scsi: RDMA/isert: Fix a recently introduced regression related to logout
iscsit_close_connection() calls isert_wait_conn(). Due to commit
e9d3009cb936 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: e9d3009cb936 ("scsi: target: iscsi: Wait for all commands to finish before freeing a session").
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Rahul Kundu <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Tested-by: Mike Marciniszyn <[email protected]>
Acked-by: Sagi Grimberg <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions