summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/hme.c
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2003-02-01 06:00:10 +0000
committerjason <jason@openbsd.org>2003-02-01 06:00:10 +0000
commit20cc63695f1f439f8bef300e6b4499f09e02c9a9 (patch)
treecc8cc9651cd52d7eea0d0c9fc107ecede0422134 /sys/dev/ic/hme.c
parentsync (diff)
downloadwireguard-openbsd-20cc63695f1f439f8bef300e6b4499f09e02c9a9.tar.xz
wireguard-openbsd-20cc63695f1f439f8bef300e6b4499f09e02c9a9.zip
Look, noone cares if you run of out rx descriptors and whining about it just makes the situation worse.
Diffstat (limited to 'sys/dev/ic/hme.c')
-rw-r--r--sys/dev/ic/hme.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c
index c8210d5fdb0..4bb859d7667 100644
--- a/sys/dev/ic/hme.c
+++ b/sys/dev/ic/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.23 2002/11/26 01:08:18 fgsch Exp $ */
+/* $OpenBSD: hme.c,v 1.24 2003/02/01 06:00:10 jason Exp $ */
/* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */
/*-
@@ -812,6 +812,11 @@ hme_eint(sc, status)
status &= ~HME_SEB_STAT_DTIMEXP;
}
+ if (status & HME_SEB_STAT_NORXD) {
+ ifp->if_ierrors++;
+ status &= ~HME_SEB_STAT_NORXD;
+ }
+
if (status == 0)
return (1);