Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 23:08:02 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191162 - head/sys/dev/e1000
Message-ID:  <200904162308.n3GN822G095017@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904162308.n3GN822G095017>