Re: [PATCH v2 2/2] wifi: brcmfmac: drain bus_reset work on device removal

Arend van Spriel <[email protected]> Mon, 20 Jul 2026 21:48:59 +0200
Newsgroups dev.linux.lists.brcm80211,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless,org.kernel.vger.stable
Message-ID <[email protected]>
On Sat, 18 Jul 2026, Fan Wu wrote:

> [PATCH v2 2/2] wifi: brcmfmac: drain bus_reset work on device removal
>
> brcmf_fw_crashed() and the debugfs "reset" entry both schedule
> drvr->bus_reset, whose callback recovers drvr through container_of()
> and dereferences it.  The removal path frees drvr (brcmf_free ->
> wiphy_free) without draining the work ...
>
>  7 files changed, 77 insertions(+), 4 deletions(-)

Acked-by: Arend van Spriel <[email protected]>

Regards,
Arend