From 4a55b687324e5a6b8fc8798aff2d2c8d8080482a Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 27 Oct 2005 15:39:19 +0000 Subject: [PATCH] Clear pending_txs when not "RUNNING". Submitted by: Q --- sys/dev/nve/if_nve.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/nve/if_nve.c b/sys/dev/nve/if_nve.c index 6ffecbd01d7..b36c3ad2c46 100644 --- a/sys/dev/nve/if_nve.c +++ b/sys/dev/nve/if_nve.c @@ -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);