Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152007406
D47006.id144455.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
620 B
Referenced Files
None
Subscribers
None
D47006.id144455.diff
View Options
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -6074,8 +6074,12 @@
if (!withoutpkts && ltxq_empty)
goto out;
- /* Make sure we do not double-schedule. */
- if (ltxq->txq_entry.tqe_next != NULL)
+ /*
+ * Make sure we do not double-schedule. We do this by
+ * checking tqe_prev, the previous entry in our tailq.
+ * tqe_prev is always valid, tqe_next may be NULL.
+ */
+ if (ltxq->txq_entry.tqe_prev != NULL)
goto out;
lhw = HW_TO_LHW(hw);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 13, 1:49 AM (10 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31387246
Default Alt Text
D47006.id144455.diff (620 B)
Attached To
Mode
D47006: rtw89: Fix TX panics
Attached
Detach File
Event Timeline
Log In to Comment