Re: [PATCH v3] scsi: bnx2fc: flush destroy_work queue before calling bnx2fc_interface_put

From: Martin K. Petersen
Date: Tue Jan 25 2022 - 00:44:11 EST


On Fri, 14 Jan 2022 23:00:44 -0500, John Meneghini wrote:

> The bnx2fc_destroy functions are removing the interface before calling
> destroy_work. This results multiple WARNings from sysfs_remove_group
> as the controller rport device attributes are removed to early.
>
> Replace the fcoe_port's destroy_work queue. It's not needed.
>
> The problem is easily reproducible with the following steps.
>
> [...]

Applied to 5.17/scsi-fixes, thanks!

[1/1] scsi: bnx2fc: flush destroy_work queue before calling bnx2fc_interface_put
https://git.kernel.org/mkp/scsi/c/847f9ea4c518

--
Martin K. Petersen Oracle Linux Engineering