Skip to content
Commit 0e32fdd7 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Keith Busch
Browse files

nvme-tcp: Fix a memory leak



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: 2837966a ("nvme-tcp: control message handling for recvmsg()")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 744eac78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment