summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-08-29 17:27:05 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-08-29 17:27:05 +0000
commite55cfb994201fe3f7af7e804c4b11d7791fa991a (patch)
treed4aface2ec5a2a69808ede37af5b46471ca80cf0 /sys/dev
parent3c985119a4f65c52c85ccf550ada5830f65cc7a4 (diff)
Don't count output errors twice
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pv/if_xnf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pv/if_xnf.c b/sys/dev/pv/if_xnf.c
index e49ba9cd89e..a128899630d 100644
--- a/sys/dev/pv/if_xnf.c
+++ b/sys/dev/pv/if_xnf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xnf.c,v 1.32 2016/08/29 14:12:58 mikeb Exp $ */
+/* $OpenBSD: if_xnf.c,v 1.33 2016/08/29 17:27:04 mikeb Exp $ */
/*
* Copyright (c) 2015, 2016 Mike Belopuhov
@@ -590,7 +590,6 @@ xnf_encap(struct xnf_softc *sc, struct mbuf *m_head, uint32_t *prod)
}
errout:
- ifp->if_oerrors++;
return (ENOBUFS);
}