diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2005-10-27 15:38:29 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2005-10-27 15:38:29 +0000 |
commit | bbc17f01f4f3470a4a5dd9cab1df35daa740d9b0 (patch) | |
tree | cd0258ebdcfc386fcbf021f1244323df32ad7d39 | |
parent | Fix rcNG launcher: the latest version (2.5.30.7) no longer supports the (diff) |
Clear pending_txs when not "RUNNING".
Submitted by: Q <q@onthenet.com.au>
Notes
Notes:
svn path=/head/; revision=146490
-rw-r--r-- | net/nvnet/files/patch-if_nv.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/nvnet/files/patch-if_nv.c b/net/nvnet/files/patch-if_nv.c new file mode 100644 index 000000000000..7bf65515cd9a --- /dev/null +++ b/net/nvnet/files/patch-if_nv.c @@ -0,0 +1,10 @@ +--- 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); + |