qla2xxx: Abort stale cmds on qla_tgt_wq when plogi arrives
authorAlexei Potashnik <alexei@purestorage.com>
Tue, 14 Jul 2015 20:00:45 +0000 (16:00 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 24 Jul 2015 21:19:40 +0000 (14:19 -0700)
commitdaddf5cf9b5c68b81b2bb7133f1dd0fda4552d0b
treed3b32ada3272b5792d890eebfd82c65e41190a57
parenta6ca88780dd66b0700d89419abd17b6b4bb49483
qla2xxx: Abort stale cmds on qla_tgt_wq when plogi arrives

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>
drivers/scsi/qla2xxx/qla_target.c