summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-03-25 06:17:34 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-03-25 06:17:34 +0000
commita233d56cf8cc50938b61e6684650f0e8b4c8f29f (patch)
treec88b7132669376754949bb59a1ebced4d2e97a0a /sys/dev/ic
parentc8fba3caa372b8ef389cec41f3a60a34a30b4093 (diff)
don't count the input packets twice.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/dp8390.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c
index 87d8ea7b5a1..036595984fc 100644
--- a/sys/dev/ic/dp8390.c
+++ b/sys/dev/ic/dp8390.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dp8390.c,v 1.10 2001/03/12 05:36:57 aaron Exp $ */
+/* $OpenBSD: dp8390.c,v 1.11 2001/03/25 06:17:33 fgsch Exp $ */
/* $NetBSD: dp8390.c,v 1.13 1998/07/05 06:49:11 jonathan Exp $ */
/*
@@ -578,7 +578,6 @@ loop:
dp8390_read(sc,
packet_ptr + sizeof(struct dp8390_ring),
len - sizeof(struct dp8390_ring));
- ++sc->sc_arpcom.ac_if.if_ipackets;
} else {
/* Really BAD. The ring pointers are corrupted. */
log(LOG_ERR, "%s: NIC memory corrupt - "