[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164766213031.31329.2067042035707430877.b4-ty@oracle.com>
Date: Fri, 18 Mar 2022 23:56:51 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: open-iscsi@...glegroups.com, linux-kernel@...r.kernel.org,
Wenchao Hao <haowenchao@...wei.com>,
linux-scsi@...r.kernel.org, Chris Leech <cleech@...hat.com>,
Lee Duncan <lduncan@...e.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
Mike Christie <michael.christie@...cle.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH v3 0/3] scsi:iscsi: handle iscsi_cls_conn device with sysfs correctly
On Wed, 9 Mar 2022 20:57:56 -0500, Wenchao Hao wrote:
> We found a NULL pointer dereference in iscsi_sw_tcp_conn_get_param(),
> the root reason is we did sysfs addition wrong.
>
> The origin implement do device setup in iscsi_create_conn() which
> bind the alloc/init and add in one function; do device teardown in
> iscsi_destroy_conn() which bind remove and free in one function.
>
> [...]
Applied to 5.18/scsi-queue, thanks!
[1/3] scsi: iscsi: Add helper functions to manage iscsi_cls_conn
https://git.kernel.org/mkp/scsi/c/ad515cada7da
[2/3] scsi:libiscsi: Add iscsi_cls_conn to sysfs after been initialized
https://git.kernel.org/mkp/scsi/c/7dae459f5e56
[3/3] scsi:libiscsi: teradown iscsi_cls_conn gracefully
https://git.kernel.org/mkp/scsi/c/8709c323091b
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists