Page MenuHomeFreeBSD

D18287.id50887.diff
No OneTemporary

D18287.id50887.diff

Index: sys/dev/sfxge/common/efx_ev.c
===================================================================
--- sys/dev/sfxge/common/efx_ev.c
+++ 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
Sun, Dec 15, 9:49 PM (20 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9092014
Default Alt Text
D18287.id50887.diff (504 B)

Event Timeline