From db90f94b85b8cc12592ef96f4899d3d766a3ba4e Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Thu, 16 Apr 2009 23:08:02 +0000 Subject: [PATCH] call base if_qflush routine to flush if_snd --- sys/dev/e1000/if_em.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 645ef06e9aeb..3ecdc4ec7f98 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -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); }