svn commit: r359273 - head/sys/net

Ed Maste emaste at FreeBSD.org
Tue Mar 24 17:26:07 UTC 2020


Author: emaste
Date: Tue Mar 24 17:25:56 2020
New Revision: 359273
URL: https://svnweb.freebsd.org/changeset/base/359273

Log:
  iflib: split compound assertion
  
  ThunderX cluster systems are panicking on boot with a failed assertion
  MPASS(gtask != NULL && gtask->gt_taskqueue != NULL).  Split the
  assertion so that it's clear which part is failing.

Modified:
  head/sys/net/iflib.c

Modified: head/sys/net/iflib.c
==============================================================================
--- head/sys/net/iflib.c	Tue Mar 24 17:16:52 2020	(r359272)
+++ head/sys/net/iflib.c	Tue Mar 24 17:25:56 2020	(r359273)
@@ -6197,7 +6197,8 @@ iflib_admin_intr_deferred(if_ctx_t ctx)
 	struct grouptask *gtask;
 
 	gtask = &ctx->ifc_admin_task;
-	MPASS(gtask != NULL && gtask->gt_taskqueue != NULL);
+	MPASS(gtask != NULL);
+	MPASS(gtask->gt_taskqueue != NULL);
 #endif
 
 	GROUPTASK_ENQUEUE(&ctx->ifc_admin_task);


More information about the svn-src-head mailing list