1
linux/drivers/scsi/lpfc
Eric Sesterhenn 0b3a82d391 [SCSI] lpfc: check before dereference in lpfc_ct.c
If we fail to allocate mp->virt during the first while loop iteration,
mlist is still uninitialized, therefore we should check if before
dereferencing.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Acked-by: James Smart <James.Smart@Emulex.Com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-10-25 15:12:34 -07:00
..
lpfc_attr.c [SCSI] lpfc 8.1.10 : Add support for new lpfc soft_wwpn attribute 2006-09-04 21:25:41 -05:00
lpfc_compat.h [PATCH] turn many #if $undefined_string into #ifdef $undefined_string 2005-07-27 16:26:08 -07:00
lpfc_crtn.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
lpfc_ct.c [SCSI] lpfc: check before dereference in lpfc_ct.c 2006-10-25 15:12:34 -07:00
lpfc_disc.h [SCSI] lpfc 8.1.10 : Add support for dev_loss_tmo_callbk and fast_io_fail_tmo_callbk 2006-09-04 21:25:21 -05:00
lpfc_els.c [SCSI] lpfc 8.1.10 : Add support to post events via new FC event interfaces 2006-09-02 15:35:48 -05:00
lpfc_hbadisc.c [SCSI] lpfc 8.1.10 : Add support for new lpfc soft_wwpn attribute 2006-09-04 21:25:41 -05:00
lpfc_hw.h [SCSI] lpfc 8.1.5 : Fixed FC protocol violation in handling of PRLO. 2006-04-19 20:48:58 -04:00
lpfc_init.c [SCSI] lpfc: don't free mempool if mailbox is busy 2006-09-26 09:23:15 -07:00
lpfc_logmsg.h
lpfc_mbox.c [SCSI] lpfc 8.1.7 : Fix failing firmware download due to mailbox delays needing to be longer 2006-08-06 11:28:03 -05:00
lpfc_mem.c [SCSI] lpfc 8.1.7: Fix memory leak and cleanup code related to per ring lookup array 2006-07-09 10:19:55 -05:00
lpfc_nportdisc.c [SCSI] lpfc 8.1.10 : Add support for dev_loss_tmo_callbk and fast_io_fail_tmo_callbk 2006-09-04 21:25:21 -05:00
lpfc_scsi.c [SCSI] lpfc 8.1.10 : Add support for dev_loss_tmo_callbk and fast_io_fail_tmo_callbk 2006-09-04 21:25:21 -05:00
lpfc_scsi.h [SCSI] lpfc: minor syntax fixes 2006-03-06 10:20:56 -06:00
lpfc_sli.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
lpfc_sli.h [SCSI] lpfc 8.1.7 : Fix failing firmware download due to mailbox delays needing to be longer 2006-08-06 11:28:03 -05:00
lpfc_version.h [SCSI] lpfc 8.1.10 : Change version number to 8.1.10 2006-09-04 21:25:59 -05:00
lpfc.h [SCSI] lpfc 8.1.10 : Add support for new lpfc soft_wwpn attribute 2006-09-04 21:25:41 -05:00
Makefile