[Bug 269842] iwlwifi: crash (kernel panic) on ifconfig wlan0 destroy
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 269842] iwlwifi: crash on ifconfig wlan0 destroy"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Oct 2023 15:24:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269842
--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=53ef38313a6dd70e5d929a3d014cc62db807793f
commit 53ef38313a6dd70e5d929a3d014cc62db807793f
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-09-30 15:20:53 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-10-04 15:19:18 +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.
Calling mo_stop() in lkpi_ic_vap_delete() seems to stop the problem
that further VAPs could not be created (error 17) after the first one
being destroyed.
Sponsored by: The FreeBSD Foundation
PR: 269842
(cherry picked from commit dbf7691999abe501e0ebc0fe4d8d9e97718d3890)
(cherry picked from commit 6c38c6b1b917957d420902213f318bf0153214f2)
sys/compat/linuxkpi/common/src/linux_80211.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.