[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1lenypnul.fsf@ca-mkp.ca.oracle.com>
Date: Fri, 25 Nov 2022 19:21:28 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Chen Zhongjin <chenzhongjin@...wei.com>
Cc: <linux-kernel@...r.kernel.org>, <linux-scsi@...r.kernel.org>,
<hare@...e.de>, <jejb@...ux.ibm.com>, <martin.petersen@...cle.com>,
<robert.w.love@...el.com>, <yi.zou@...el.com>,
<James.Bottomley@...e.de>, <bprakash@...adcom.com>
Subject: Re: [PATCH] scsi: fcoe: Fix transport not deattached when
fcoe_if_init() fails
Chen,
> fcoe_init() calls fcoe_transport_attach(&fcoe_sw_transport), but when
> fcoe_if_init() fails, &fcoe_sw_transport is not detached and leave freed
> &fcoe_sw_transport on list fcoe_transports, which causes panic when
> reinserting module.
Applied to 6.2/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists