Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106199112
D47479.id146147.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
436 B
Referenced Files
None
Subscribers
None
D47479.id146147.diff
View Options
diff --git a/sys/dev/rtwn/if_rtwn_tx.c b/sys/dev/rtwn/if_rtwn_tx.c
--- a/sys/dev/rtwn/if_rtwn_tx.c
+++ b/sys/dev/rtwn/if_rtwn_tx.c
@@ -263,6 +263,12 @@
struct mbuf *m;
RTWN_ASSERT_LOCKED(sc);
+
+ /* Ensure no work is scheduled during reset/teardown */
+ if ((sc->sc_flags & RTWN_RUNNING) == 0) {
+ return;
+ }
+
while ((m = mbufq_dequeue(&sc->sc_snd)) != NULL) {
if (sc->qfullmsk != 0) {
mbufq_prepend(&sc->sc_snd, m);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 28, 1:01 AM (7 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14544747
Default Alt Text
D47479.id146147.diff (436 B)
Attached To
Mode
D47479: rtwn: ensure TX work isn't scheduled during reset / abort
Attached
Detach File
Event Timeline
Log In to Comment