1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/nvnet/files/patch-if_nv.c
David E. O'Brien bbc17f01f4 Clear pending_txs when not "RUNNING".
Submitted by:	Q <q@onthenet.com.au>
2005-10-27 15:38:29 +00:00

11 lines
271 B
C

--- src/if_nv.c.orig Fri Mar 11 17:12:42 2005
+++ src/if_nv.c Thu Oct 27 08:36:09 2005
@@ -720,6 +720,7 @@ nv_stop(struct nv_softc *sc)
sc->linkup = 0;
sc->cur_rx = 0;
sc->pending_rxs = 0;
+ sc->pending_txs = 0;
ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);