Clear pending_txs when not "RUNNING".

Submitted by:	Q <q@onthenet.com.au>
This commit is contained in:
obrien 2005-10-27 15:39:19 +00:00
parent 7047239f31
commit 0a44d5c800

View File

@ -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);