Re: [PATCH net v4] bnxt_en: Take RTNL before netif_close() when aborting FW reset
From: Michael Chan
Date: Mon Nov 09 2026 - 14:20:50 EST
On Sun, Nov 8, 2026 at 2:29 PM Bryan Cochrane <bcochrane@xxxxxxxxxx> wrote:
> v4:
> - Return to the synchronous close in bnxt_fw_reset() from v2, using
> netdev_unlock() + bnxt_rtnl_lock_sp() as suggested by Michael Chan,
> and guard BNXT_STATE_IN_SP_TASK in bnxt_[rtnl_]lock_sp() and
> bnxt_[rtnl_]unlock_sp() with current_work() == &bp->sp_task. Deferring
> the close to bnxt_fw_reset_task() in v3 still hung when entered via
> bnxt_fw_recover(), raced with bnxt_hwrm_if_change() clearing
> fw_reset_state, and marked the reporter SEVERITY_FATAL (reported by
> the netdev Sashiko review).
v4 looks good to me. Thanks.
Reviewed-by: Michael Chan <michael.chan@xxxxxxxxxxxx>
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature