svn commit: r191162 - head/sys/dev/e1000
Kip Macy
kmacy at FreeBSD.org
Thu Apr 16 23:08:03 UTC 2009
Author: kmacy
Date: Thu Apr 16 23:08:02 2009
New Revision: 191162
URL: http://svn.freebsd.org/changeset/base/191162
Log:
call base if_qflush routine to flush if_snd
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 16 23:05:10 2009 (r191161)
+++ head/sys/dev/e1000/if_em.c Thu Apr 16 23:08:02 2009 (r191162)
@@ -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);
}
More information about the svn-src-all
mailing list