Thanks!

On Tue, Jun 2, 2020 at 9:32 PM Martin K. Petersen <
[email protected]> wrote:

> On Thu, 28 May 2020 15:13:53 -0500, [email protected] wrote:
>
> > kobject_init_and_add() should be handled when it return an error,
> > because kobject_init_and_add() takes reference even when it fails.
> > If this function returns an error, kobject_put() must be called to
> > properly clean up the memory associated with the object. Previous
> > commit "b8eb718348b8" fixed a similar problem. Thus replace calling
> > kfree() by calling kobject_put().
>
> Applied to 5.8/scsi-queue, thanks!
>
> [1/1] scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
>       https://git.kernel.org/mkp/scsi/c/0267ffce562c
>
> --
> Martin K. Petersen      Oracle Linux Engineering
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/open-iscsi/CAMV6ehHyV9PNP4%2B49u2uOTtTCE17vYSA_cX2%2BRteUFyG1OB15Q%40mail.gmail.com.

Reply via email to