qla2xxx: Abort stale cmds on qla_tgt_wq when plogi arrives

[ Upstream commit daddf5cf9b ]

cancel any commands from initiator's s_id that are still waiting
on qla_tgt_wq when PLOGI arrives.

Cc: <stable@vger.kernel.org> # v3.18+
Signed-off-by: Alexei Potashnik <alexei@purestorage.com>
Acked-by: Quinn Tran <quinn.tran@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Alexei Potashnik 2015-07-14 16:00:45 -04:00 • committed by Sasha Levin
commit 1226aefc12