Re: [PATCH] mpt2sas: prevent double free on error path

From: JÃrn Engel
Date: Fri Jan 25 2013 - 13:34:40 EST


On Thu, 24 January 2013 08:51:20 +0100, BjÃrn Mork wrote:
>
> How about the copy of this code in drivers/scsi/mpt3sas/mpt3sas_scsih.c?
> Is that safe, or does it need fixing as well?

Well spotted, that appears to suffer from the same ailment. Will cook
up a second patch for that.

Are there any other copies of this code around?

JÃrn

--
The object-oriented version of 'Spaghetti code' is, of course, 'Lasagna code'.
(Too many layers).
-- Roberto Waltman.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/