diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-09-22 15:56:18 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-09-22 15:56:18 +0000 |
commit | 20184b9947874b6c1e5d1e3260fe10bab3f846ef (patch) | |
tree | f8b96ee84b8ba347e202ad0ffd206127876d41ef | |
parent | 41a0a0f690b08db2d7e4aef411a5e11800a96986 (diff) |
Update ifp->if_opackets correctly
-rw-r--r-- | sys/dev/ic/gem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c index 81170a79f42..beacde2f72a 100644 --- a/sys/dev/ic/gem.c +++ b/sys/dev/ic/gem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gem.c,v 1.27 2002/08/28 11:05:02 art Exp $ */ +/* $OpenBSD: gem.c,v 1.28 2002/09/22 15:56:17 jason Exp $ */ /* $NetBSD: gem.c,v 1.1 2001/09/16 00:11:43 eeh Exp $ */ /* @@ -1649,6 +1649,7 @@ gem_tint(sc, status) sd->sd_mbuf = NULL; } sc->sc_tx_cnt--; + ifp->if_opackets++; if (++cons == GEM_NTXDESC) cons = 0; } |