From 4a24fbc0a487617a386745eabfad39a69c347f19 Mon Sep 17 00:00:00 2001 From: mikeb Date: Mon, 29 Aug 2016 17:27:04 +0000 Subject: [PATCH] Don't count output errors twice --- sys/dev/pv/if_xnf.c | 3 +-- 1 file changed, 1 insertion(+), 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); } -- 2.20.1