On 07/14/2015 10:00 PM, Himanshu Madhani wrote: > From: Alexei Potashnik <alexei@xxxxxxxxxxxxxxx> > > If a new initiator (different WWN) shows up on the same fcport, old > initiator's session is scheduled for deletion. But there is a small > window between it being marked with QLA_SESS_DELETION_IN_PROGRESS > and qlt_unret_sess getting called when new session's commands will > keep finding old session in the fcport map. > > This patch drops cmds/tmrs if they find session in the progress of > being deleted. > > Cc: <stable@xxxxxxxxxxxxxxx> > Signed-off-by: Alexei Potashnik <alexei@xxxxxxxxxxxxxxx> > Acked-by: Quinn Tran <quinn.tran@xxxxxxxxxx> > Signed-off-by: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx> > --- Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html