]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] lpfc 8.3.0 : Fix system crash due to uninitialized node access
authorJames Smart <James.Smart@Emulex.Com>
Fri, 5 Dec 2008 03:39:08 +0000 (22:39 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:25 +0000 (11:24 -0600)
commit109f6ed05aadb7dd1cc9671a63603658d3ba518e
tree637d09437a45ab0f21e28a30ae4e876d59b6b733
parent9bad76719ee4fa8c305bb6cba6e19b4ddbe800b2
[SCSI] lpfc 8.3.0 : Fix system crash due to uninitialized node access

In the IOCB completion handler, always check if the node is valid
before accessing the node object.  Added lpfc_initialize_node() to
initialize nodes.

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_scsi.c