The patch titled tehuti: possible leak in bdx_probe has been removed from the -mm tree. Its filename was tehuti-possible-leak-in-bdx_probe.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: tehuti: possible leak in bdx_probe From: Florin Malita <fmalita@xxxxxxxxx> If pci_enable_device fails, bdx_probe returns without freeing the allocated pci_nic structure. Coverity CID 1908. Signed-off-by: Florin Malita <fmalita@xxxxxxxxx> Acked-by: Alexander Indenbaum <baum@xxxxxxxxxxxxxxxxxx> Acked-by: Andy Gospodarek <andy@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/tehuti.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/net/tehuti.c~tehuti-possible-leak-in-bdx_probe drivers/net/tehuti.c --- a/drivers/net/tehuti.c~tehuti-possible-leak-in-bdx_probe +++ a/drivers/net/tehuti.c @@ -1906,7 +1906,7 @@ bdx_probe(struct pci_dev *pdev, const st /************** pci *****************/ if ((err = pci_enable_device(pdev))) /* it trigers interrupt, dunno why. */ - RET(err); /* it's not a problem though */ + goto err_pci; /* it's not a problem though */ if (!(err = pci_set_dma_mask(pdev, DMA_64BIT_MASK)) && !(err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK))) { @@ -2076,6 +2076,7 @@ err_out_res: pci_release_regions(pdev); err_dma: pci_disable_device(pdev); +err_pci: vfree(nic); RET(err); _ Patches currently in -mm which might be from fmalita@xxxxxxxxx are origin.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html