From: mikeb Date: Mon, 29 Aug 2016 17:27:04 +0000 (+0000) Subject: Don't count output errors twice X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4a24fbc0a487617a386745eabfad39a69c347f19;p=openbsd Don't count output errors twice --- 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); }