Page MenuHomeFreeBSD

D18287.diff
No OneTemporary

D18287.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
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)

Event Timeline