mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
call base if_qflush routine to flush if_snd
This commit is contained in:
parent
7cc5b47fb3
commit
db90f94b85
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191162
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user