Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177557609
D59624.1794715754.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
496 B
Referenced Files
None
Subscribers
None
D59624.1794715754.diff
View Options
diff --git a/sys/dev/iwx/if_iwx.c b/sys/dev/iwx/if_iwx.c
--- a/sys/dev/iwx/if_iwx.c
+++ b/sys/dev/iwx/if_iwx.c
@@ -8084,6 +8085,10 @@
enum ieee80211_state ostate = vap->iv_state;
int err = 0;
+ if (sc->sc_flags & IWX_FLAG_SHUTDOWN) {
+ return 0;
+ }
+
IWX_LOCK(sc);
if (nstate <= ostate || nstate > IEEE80211_S_RUN) {
@@ -10679,6 +10718,7 @@
int txq_i;
iwx_stop_device(sc);
+ sc->sc_flags |= IWX_FLAG_SHUTDOWN;
taskqueue_drain_all(sc->sc_tq);
taskqueue_free(sc->sc_tq);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 4:09 AM (12 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38879021
Default Alt Text
D59624.1794715754.diff (496 B)
Attached To
Mode
D59624: iwx: fix kernel panic on module unload with assertions enabled
Attached
Detach File
Event Timeline