call base if_qflush routine to flush if_snd

This commit is contained in:
Kip Macy 2009-04-16 23:08:02 +00:00
parent 7cc5b47fb3
commit db90f94b85
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191162

View File

@ -1055,6 +1055,7 @@ em_qflush(struct ifnet *ifp)
EM_TX_LOCK(adapter);
while ((m = buf_ring_dequeue_sc(adapter->br)) != NULL)
m_freem(m);
if_qflush(ifp);
EM_TX_UNLOCK(adapter);
}