[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq134epwe53.fsf@ca-mkp.ca.oracle.com>
Date: Thu, 03 Apr 2025 09:47:30 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linmq006@...il.com
Cc: Lee Duncan <lduncan@...e.com>, Chris Leech <cleech@...hat.com>,
Mike
Christie <michael.christie@...cle.com>,
"James E.J. Bottomley"
<James.Bottomley@...senPartnership.com>,
"Martin K. Petersen"
<martin.petersen@...cle.com>,
Lin Ma <linma@....edu.cn>, open-iscsi@...glegroups.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: iscsi: Fix missing scsi_host_put in error path
> Add goto to ensure scsi_host_put is called in all error paths of
> iscsi_set_host_param function. This fixes a potential memory leak when
> strlen check fails.
Applied to 6.15/scsi-staging, thanks!
--
Martin K. Petersen
Powered by blists - more mailing lists