On Tue, 15 Nov 2022 17:24:42 +0800, Chen Zhongjin wrote: > 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. > > BUG: unable to handle page fault for address: fffffbfff82e2213 > RIP: 0010:fcoe_transport_attach+0xe1/0x230 [libfcoe] > Call Trace: > <TASK> > do_one_initcall+0xd0/0x4e0 > load_module+0x5eee/0x7210 > ... > > [...] Applied to 6.2/scsi-queue, thanks! [1/1] scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails https://git.kernel.org/mkp/scsi/c/4155658cee39 -- Martin K. Petersen Oracle Linux Engineering