svn commit: r321671 - head/sys/dev/cxgbe/iw_cxgbe

Navdeep Parhar np at FreeBSD.org
Fri Jul 28 22:28:46 UTC 2017


Author: np
Date: Fri Jul 28 22:28:45 2017
New Revision: 321671
URL: https://svnweb.freebsd.org/changeset/base/321671

Log:
  cxgbe/iw_cxgbe: Log the end point's history and flags to the trace
  buffer just before it's freed.
  
  MFC after:	1 week
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/dev/cxgbe/iw_cxgbe/cm.c

Modified: head/sys/dev/cxgbe/iw_cxgbe/cm.c
==============================================================================
--- head/sys/dev/cxgbe/iw_cxgbe/cm.c	Fri Jul 28 22:23:29 2017	(r321670)
+++ head/sys/dev/cxgbe/iw_cxgbe/cm.c	Fri Jul 28 22:28:45 2017	(r321671)
@@ -1002,6 +1002,8 @@ void _c4iw_free_ep(struct kref *kref)
 	    __func__, epc));
 	if (test_bit(QP_REFERENCED, &ep->com.flags))
 		deref_qp(ep);
+	CTR4(KTR_IW_CXGBE, "%s: ep %p, history 0x%lx, flags 0x%lx",
+	    __func__, ep, epc->history, epc->flags);
 	kfree(ep);
 }
 


More information about the svn-src-all mailing list