lkml.org 
[lkml]   [2022]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
Date
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

\
 
 \ /
  Last update: 2022-12-01 04:46    [W:0.040 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site