[PATCH 1/1] nvme-fc: avoid memory corruption caused by calling nvmf_free_options() twice

Christoph Hellwig hch at infradead.org
Tue Apr 25 11:00:25 PDT 2017


On Tue, Apr 25, 2017 at 10:57:44AM -0700, Christoph Hellwig wrote:
> > > Do not call nvmf_free_options() from the nvme_fc_ctlr destructor if
> > > nvme_fc_create_ctrl() returns an error, because nvmf_create_ctrl()
> > > frees the options when an error is returned.
> > > 
> > > Signed-off-by: Ewan D. Milne <emilne at redhat.com>
> > 
> > Looks good, applied to nvme-4.12.
> 
> Actually, it doesn't apply at all.  Can you respin it?

Meh, wrong tree.  Everything is fine and it's applied.



More information about the Linux-nvme mailing list