From bbc17f01f4f3470a4a5dd9cab1df35daa740d9b0 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 27 Oct 2005 15:38:29 +0000 Subject: Clear pending_txs when not "RUNNING". Submitted by: Q --- net/nvnet/files/patch-if_nv.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 net/nvnet/files/patch-if_nv.c (limited to 'net/nvnet/files/patch-if_nv.c') 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); + -- cgit v1.2.3