]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lpfc: Fix vport deletion failure.
authorJames Smart <james.smart@avagotech.com>
Fri, 22 May 2015 14:42:36 +0000 (10:42 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 19 Oct 2015 16:10:56 +0000 (09:10 -0700)
commit62f6f460d058e150fdc2c48b0e273c465efc806e
tree81fce0dc5cf48450d32ea917e7f099ac0556ac81
parent8edefa51d38caf7f929dde631ff61c36dc55555c
lpfc: Fix vport deletion failure.

If a vport was deleted while in the middle of discovery, we weren't
clearing the nport discovery flag. Correct by clearing the flag and
cancelling our discovery timeout timer.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
(cherry picked from commit 73dc0dbed3f9f65c6f80fab429dd9771de794714)

Orabug: 22029622
From dick.kennedy@avagotech.com lpfc-10.5.0.1-11.0.0.3-1.tar.gz
Acked-by: Chuck Anderson <chuck.anderson@oracle.com>
drivers/scsi/lpfc/lpfc_els.c