MFC: rev 1.13: clear pending_txs when not "RUNNING".

This commit is contained in:
obrien 2005-12-05 01:05:58 +00:00
parent 1331999374
commit 67e83240bd

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