diff options
author | obrien <obrien@FreeBSD.org> | 2005-10-27 23:38:29 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-10-27 23:38:29 +0800 |
commit | bf3a8367593e67ca09523b9c41ad9d899ada0caa (patch) | |
tree | de1eff47e124a63b28713d7bec77cd2cf345770d /net/nvnet | |
parent | d2bc4e207c26bbe340e7a6251a7a3c5bfea78dad (diff) | |
download | freebsd-ports-gnome-bf3a8367593e67ca09523b9c41ad9d899ada0caa.tar.gz freebsd-ports-gnome-bf3a8367593e67ca09523b9c41ad9d899ada0caa.tar.zst freebsd-ports-gnome-bf3a8367593e67ca09523b9c41ad9d899ada0caa.zip |
Clear pending_txs when not "RUNNING".
Submitted by: Q <q@onthenet.com.au>
Diffstat (limited to 'net/nvnet')
-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); + |