RE: [PATCH] RDMA/isert: Fix a recently introduced regression related to logout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Subject: [PATCH] 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().
> 
> Reported-by: Rahul Kundu <rahul.kundu@xxxxxxxxxxx>
> Fixes: e9d3009cb936 ("scsi: target: iscsi: Wait for all commands to finish
> before freeing a session").
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>

Tested-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>

Mike




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux