summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-06-29 10:24:14 +0000
committerdlg <dlg@openbsd.org>2015-06-29 10:24:14 +0000
commitd2caee52abfce08dc28112dc2b76eab08a1d042d (patch)
treea98964e0d150a0fd3491249c4a089e27d83a935a
parentTest that selectors, which specify facility and severity level for (diff)
downloadwireguard-openbsd-d2caee52abfce08dc28112dc2b76eab08a1d042d.tar.xz
wireguard-openbsd-d2caee52abfce08dc28112dc2b76eab08a1d042d.zip
dont double count if_ibytes here, it gets done by something inside
if_input. from and ok mpi@
-rw-r--r--sys/dev/pcmcia/if_xe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c
index f95ddbfc617..12285c9ed6a 100644
--- a/sys/dev/pcmcia/if_xe.c
+++ b/sys/dev/pcmcia/if_xe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xe.c,v 1.50 2015/06/24 09:40:54 mpi Exp $ */
+/* $OpenBSD: if_xe.c,v 1.51 2015/06/29 10:24:14 dlg Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas
@@ -685,7 +685,6 @@ xe_intr(arg)
}
tempint = xe_get(sc);
recvcount += tempint;
- ifp->if_ibytes += tempint;
esr = bus_space_read_1(sc->sc_bst, sc->sc_bsh,
sc->sc_offset + ESR);
rsr = bus_space_read_1(sc->sc_bst, sc->sc_bsh,