Re: [PATCH] scsi: iscsi: Fix missing scsi_host_put in error path

From: Martin K. Petersen
Date: Thu Apr 03 2025 - 09:49:29 EST



> 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