Oracle bug
13709784
Oracle bugzilla 13352
02/10/2012
Chuck Anderson
Patch Emulex LPFC device driver to 8.3.5.58.2p
commit comment:
lpfc 8.3.29: Locking fix and Memory leak Fixes
Fix mailbox and vpi memory leaks (126818)
Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
vport->load_flag |= FC_UNLOADING;
spin_unlock_irq(shost->host_lock);
+ kfree(phba->vpi_bmask);
+ kfree(phba->vpi_ids);
+
lpfc_stop_hba_timers(phba);
phba->pport->work_port_events = 0;
/* Final cleanup of txcmplq and reset the HBA */
lpfc_sli_brdrestart(phba);
+ kfree(phba->vpi_bmask);
+ kfree(phba->vpi_ids);
+
lpfc_stop_hba_timers(phba);
spin_lock_irq(&phba->hbalock);
list_del_init(&vport->listentry);