mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Clear pending_txs when not "RUNNING".
Submitted by: Q <q@onthenet.com.au>
This commit is contained in:
parent
bebb05211f
commit
4a55b68732
1 changed files with 1 additions and 0 deletions
|
|
@ -693,6 +693,7 @@ nve_stop(struct nve_softc *sc)
|
|||
sc->linkup = 0;
|
||||
sc->cur_rx = 0;
|
||||
sc->pending_rxs = 0;
|
||||
sc->pending_txs = 0;
|
||||
|
||||
ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue