Make sure the ALTQ case is handle correctly by using drbr_dequeue

This commit is contained in:
Kip Macy 2009-04-23 21:19:35 +00:00
parent bb2ac86f7d
commit 173ff3e204
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191440

View File

@ -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;
/*