Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Do not count ipackets twice. From Dave Barnes in ...
details: https://anonhg.NetBSD.org/src/rev/7370d40fe7a5
branches: trunk
changeset: 569992:7370d40fe7a5
user: martin <martin%NetBSD.org@localhost>
date: Thu Sep 16 10:02:59 2004 +0000
description:
Do not count ipackets twice. From Dave Barnes in PR port-i386/26906.
diffstat:
sys/dev/ic/dp8390.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 811a1fe18754 -r 7370d40fe7a5 sys/dev/ic/dp8390.c
--- a/sys/dev/ic/dp8390.c Thu Sep 16 09:42:51 2004 +0000
+++ b/sys/dev/ic/dp8390.c Thu Sep 16 10:02:59 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dp8390.c,v 1.52 2003/01/15 22:20:05 bouyer Exp $ */
+/* $NetBSD: dp8390.c,v 1.53 2004/09/16 10:02:59 martin Exp $ */
/*
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@@ -14,7 +14,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dp8390.c,v 1.52 2003/01/15 22:20:05 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dp8390.c,v 1.53 2004/09/16 10:02:59 martin Exp $");
#include "opt_ipkdb.h"
#include "opt_inet.h"
@@ -617,7 +617,6 @@
dp8390_read(sc,
packet_ptr + sizeof(struct dp8390_ring),
len - sizeof(struct dp8390_ring));
- ++sc->sc_ec.ec_if.if_ipackets;
} else {
/* Really BAD. The ring pointers are corrupted. */
log(LOG_ERR, "%s: NIC memory corrupt - "
Home |
Main Index |
Thread Index |
Old Index