Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F81970605
D18287.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
519 B
Referenced Files
None
Subscribers
None
D18287.diff
View Options
Index: head/sys/dev/sfxge/common/efx_ev.c
===================================================================
--- head/sys/dev/sfxge/common/efx_ev.c
+++ head/sys/dev/sfxge/common/efx_ev.c
@@ -509,6 +509,14 @@
if (should_abort) {
/* Ignore subsequent events */
total = index + 1;
+
+ /*
+ * Poison batch to ensure the outer
+ * loop is broken out of.
+ */
+ EFSYS_ASSERT(batch <= EFX_EV_BATCH);
+ batch += (EFX_EV_BATCH << 1);
+ EFSYS_ASSERT(total != batch);
break;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 15, 7:33 PM (21 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9091910
Default Alt Text
D18287.diff (519 B)
Attached To
Mode
D18287: sfxge(4): ensure EvQ poll stops when abort is requested
Attached
Detach File
Event Timeline
Log In to Comment