diff options
author | kmacy <kmacy@FreeBSD.org> | 2009-04-16 23:08:02 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2009-04-16 23:08:02 +0000 |
commit | d9986ad4bf1ffbe5f00ae164849743118eda1620 (patch) | |
tree | e19f62cfe957757d595d056f8da2a1276cac4d80 | |
parent | 7370d77f7808c519f45f5b97005d10d654fa0275 (diff) | |
download | FreeBSD-src-d9986ad4bf1ffbe5f00ae164849743118eda1620.zip FreeBSD-src-d9986ad4bf1ffbe5f00ae164849743118eda1620.tar.gz |
call base if_qflush routine to flush if_snd
-rw-r--r-- | sys/dev/e1000/if_em.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 645ef06..3ecdc4e 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); } |