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

From: Keith Busch
Date: Mon Oct 30 2023 - 11:02:58 EST


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@xxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Thanks, applied to nvme-6.7.