[PATCH v2] nvme-tcp: Fix a memory leak

Keith Busch kbusch at kernel.org
Mon Oct 30 08:02:45 PDT 2023


On Mon, Oct 30, 2023 at 03:49:28PM +0100, Christophe JAILLET wrote:
> All error handling path end to the error handling path, except this one.
> Go to the error handling branch as well here, otherwise 'icreq' and
> 'icresp' will leak.
> 
> Fixes: 2837966ab2a8 ("nvme-tcp: control message handling for recvmsg()")
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> Reviewed-by: Christoph Hellwig <hch at lst.de>

Thanks, applied to nvme-6.7.



More information about the Linux-nvme mailing list