From f8d0488ec61829504cf6784dcff2bad0921558a0 Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Fri, 28 Jul 2017 22:28:45 +0000 Subject: [PATCH] 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 --- sys/dev/cxgbe/iw_cxgbe/cm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/cxgbe/iw_cxgbe/cm.c b/sys/dev/cxgbe/iw_cxgbe/cm.c index 00dde9c0176..96aa3d6d196 100644 --- a/sys/dev/cxgbe/iw_cxgbe/cm.c +++ b/sys/dev/cxgbe/iw_cxgbe/cm.c @@ -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); }