summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authordms <dms@openbsd.org>2009-10-11 19:24:48 +0000
committerdms <dms@openbsd.org>2009-10-11 19:24:48 +0000
commit94b3f27e60509cc3e189df4d08d9c4c122b7abc4 (patch)
tree5c37188059a6226980e0959b5b896af750d76995 /sys/dev/pci/if_em.c
parentdocument stem--flavor (diff)
downloadwireguard-openbsd-94b3f27e60509cc3e189df4d08d9c4c122b7abc4.tar.xz
wireguard-openbsd-94b3f27e60509cc3e189df4d08d9c4c122b7abc4.zip
remove duplicate ierrors increment (rx_overruns gets incremented) which was
introduced in rev. 1.204. from brad ok by claudio@
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r--sys/dev/pci/if_em.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index ad910531b81..af0f1e46b98 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.226 2009/10/11 00:18:37 dms Exp $ */
+/* $OpenBSD: if_em.c,v 1.227 2009/10/11 19:24:48 dms Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -808,7 +808,6 @@ em_intr(void *arg)
if (reg_icr & E1000_ICR_RXO) {
sc->rx_overruns++;
- ifp->if_ierrors++;
refill = 1;
}