svn commit: r191440 - head/sys/dev/e1000

Kip Macy kmacy at FreeBSD.org
Thu Apr 23 21:19:35 UTC 2009


Author: kmacy
Date: Thu Apr 23 21:19:35 2009
New Revision: 191440
URL: http://svn.freebsd.org/changeset/base/191440

Log:
  Make sure the ALTQ case is handle correctly by using drbr_dequeue

Modified:
  head/sys/dev/e1000/if_em.c

Modified: head/sys/dev/e1000/if_em.c
==============================================================================
--- head/sys/dev/e1000/if_em.c	Thu Apr 23 21:09:47 2009	(r191439)
+++ head/sys/dev/e1000/if_em.c	Thu Apr 23 21:19:35 2009	(r191440)
@@ -1076,7 +1076,7 @@ em_start_locked(struct ifnet *ifp)
 	while ((adapter->num_tx_desc_avail > EM_TX_OP_THRESHOLD)
 	    && (!ADAPTER_RING_EMPTY(adapter))) {
 
-		m_head = buf_ring_dequeue_sc(adapter->br);
+		m_head = drbr_dequeue(adapter->br);
 		if (m_head == NULL)
 			break;
 		/*


More information about the svn-src-head mailing list