Page MenuHomeFreeBSD

D18287.1794681132.diff
No OneTemporary

Authored By
Unknown
Size
519 B
Referenced Files
None
Subscribers
None

D18287.1794681132.diff

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

Mime Type
text/plain
Expires
Sat, Nov 14, 6:32 PM (3 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41730661
Default Alt Text
D18287.1794681132.diff (519 B)

Event Timeline