Re: [PATCH] scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
From: Martin K. Petersen
Date: Fri Nov 25 2022 - 19:21:49 EST
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