linux-stable/drivers/scsi/lpfc
James Smart 3ebd9b4701 scsi: lpfc: Fix nvme allocation bug on failed nvme_fc_register_localport
nvme bufs get allocated even when the registration fails.
Move allocation into the rsgistration success path.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-03-06 23:04:22 -05:00
..
lpfc.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_attr.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_attr.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_bsg.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_bsg.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_compat.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_crtn.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_ct.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_debugfs.c scsi: lpfc: use div_u64 for 64-bit division 2017-02-27 22:07:03 -05:00
lpfc_debugfs.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_disc.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_els.c scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters 2017-03-06 23:04:22 -05:00
lpfc_hbadisc.c scsi: lpfc: replace init_timer by setup_timer 2017-03-06 22:48:49 -05:00
lpfc_hw.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_hw4.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_ids.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_init.c scsi: lpfc: replace init_timer by setup_timer 2017-03-06 22:48:49 -05:00
lpfc_logmsg.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_mbox.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_mem.c scsi: lpfc: don't dereference dma_buf->iocbq before null check 2017-03-06 23:04:22 -05:00
lpfc_nl.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_nportdisc.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_nvme.c scsi: lpfc: Fix nvme allocation bug on failed nvme_fc_register_localport 2017-03-06 23:04:22 -05:00
lpfc_nvme.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_nvmet.c scsi: lpfc: Fix IO submission if WQ is full 2017-03-06 23:04:22 -05:00
lpfc_nvmet.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_scsi.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_scsi.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_sli.c scsi: lpfc: fix missing spin_unlock on sql_list_lock 2017-03-06 23:04:22 -05:00
lpfc_sli.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_sli4.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_version.h scsi: lpfc: Update lpfc version to 11.2.0.7 2017-02-22 18:41:44 -05:00
lpfc_vport.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_vport.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
Makefile scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00