[Bug 269842] iwlwifi: crash (kernel panic) on ifconfig wlan0 destroy

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 30 Sep 2023 15:29:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269842

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=dbf7691999abe501e0ebc0fe4d8d9e97718d3890

commit dbf7691999abe501e0ebc0fe4d8d9e97718d3890
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-09-30 15:20:53 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-09-30 15:27:05 +0000

    LinuxKPI: 802.11: improve lkpi_ic_vap_delete()

    Changing the order of cleanup in lkpi_ic_vap_delete() will avoid
    firmware crashes or a direct panic as observed as ieee80211_vap_detach()
    will do most cleanup for us and get us into the correct state.

    The solution is not fully developed yet and one may not be able
    to create a new vap (lkpi_ic_vap_create may fail with error 17)
    afterwards.  It is supposed to be a step towards more stability
    for now.

    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    PR:             269842

 sys/compat/linuxkpi/common/src/linux_80211.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.