Page MenuHomeFreeBSD

D43999.diff
No OneTemporary

D43999.diff

diff --git a/sys/dev/cxgbe/tom/t4_ddp.c b/sys/dev/cxgbe/tom/t4_ddp.c
--- a/sys/dev/cxgbe/tom/t4_ddp.c
+++ b/sys/dev/cxgbe/tom/t4_ddp.c
@@ -186,10 +186,17 @@
*/
if (!aio_clear_cancel_function(db->job))
ddp_complete_one(db->job, 0);
+#ifdef INVARIANTS
+ db->job = NULL;
+#endif
}
- if (db->ps)
+ if (db->ps) {
free_pageset(td, db->ps);
+#ifdef INVARIANTS
+ db->ps = NULL;
+#endif
+ }
}
static void

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 10, 11:10 AM (14 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15742028
Default Alt Text
D43999.diff (421 B)

Event Timeline