svn commit: r220897 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Wed Apr 20 18:04:34 UTC 2011


Author: np
Date: Wed Apr 20 18:04:34 2011
New Revision: 220897
URL: http://svn.freebsd.org/changeset/base/220897

Log:
  Use the correct free routine when destroying a control queue.
  
  X-MFC after:	r220873

Modified:
  head/sys/dev/cxgbe/t4_sge.c

Modified: head/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- head/sys/dev/cxgbe/t4_sge.c	Wed Apr 20 17:53:39 2011	(r220896)
+++ head/sys/dev/cxgbe/t4_sge.c	Wed Apr 20 18:04:34 2011	(r220897)
@@ -1470,7 +1470,7 @@ free_ctrlq(struct adapter *sc, struct sg
 	struct sge_eq *eq = &ctrlq->eq;
 
 	if (eq->flags & (EQ_ALLOCATED | EQ_STARTED)) {
-		rc = -t4_eth_eq_free(sc, sc->mbox, sc->pf, 0, eq->cntxt_id);
+		rc = -t4_ctrl_eq_free(sc, sc->mbox, sc->pf, 0, eq->cntxt_id);
 		if (rc != 0) {
 			device_printf(sc->dev,
 			    "failed to free ctrl queue %p: %d\n", eq, rc);


More information about the svn-src-all mailing list