[SCSI] lpfc 8.3.18: Fix critical errors
authorJames Smart <james.smart@emulex.com>
Fri, 22 Oct 2010 15:06:56 +0000 (11:06 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 26 Oct 2010 15:42:27 +0000 (10:42 -0500)
commit5989b8d4dc0367a8c07cd1545dbad590a6de989d
treebb74cf25232c61538a499e7a5d5624a54a0b67a8
parent5af5eee7ca4051d8ca31edeb5216831da9625b5c
[SCSI] lpfc 8.3.18: Fix critical errors

Fix critical errors

- Update send_scsi_event to validate pnode pointer active before copying
  the wwpn information.
- Add a message, mailbox_idle, and unlock before failing SECURITY_MGMT
  or AUTH_PORT mailbox commands
- Prevent spin_lock_irqsave from being called twice in a row.

Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_scsi.c