mpi@ plans to clean-up IF_DROP()'s, but fix consistent use of it for now.
OK dlg@
-/* $OpenBSD: if_bridge.c,v 1.265 2015/09/29 10:11:40 deraadt Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.266 2015/10/05 15:52:46 uebayasi Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
if (IF_QFULL(&dst_if->if_snd)) {
IF_DROP(&dst_if->if_snd);
- sc->sc_if.if_oerrors++;
continue;
}
if (TAILQ_NEXT(p, next) == NULL) {
#endif /* NMPW */
if (IF_QFULL(&dst_if->if_snd)) {
IF_DROP(&dst_if->if_snd);
- sc->sc_if.if_oerrors++;
continue;
}
if (IF_QFULL(&ifp->if_snd)) {
IF_DROP(&ifp->if_snd);
- sc->sc_if.if_oerrors++;
continue;
}
-/* $OpenBSD: if_spppsubr.c,v 1.139 2015/09/30 12:19:34 sthen Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.140 2015/10/05 15:52:46 uebayasi Exp $ */
/*
* Synchronous PPP link level subroutines.
*
if (IF_QFULL (&sp->pp_cpq)) {
IF_DROP (&ifp->if_snd);
m_freem (m);
- ++ifp->if_oerrors;
m = NULL;
} else
IF_ENQUEUE (&sp->pp_cpq, m);
if (IF_QFULL (&sp->pp_cpq)) {
IF_DROP (&ifp->if_snd);
m_freem (m);
- ++ifp->if_oerrors;
m = NULL;
} else
IF_ENQUEUE (&sp->pp_cpq, m);
-/* $OpenBSD: if_vlan.c,v 1.143 2015/09/29 10:11:40 deraadt Exp $ */
+/* $OpenBSD: if_vlan.c,v 1.144 2015/10/05 15:52:46 uebayasi Exp $ */
/*
* Copyright 1998 Massachusetts Institute of Technology
if ((p->if_flags & (IFF_UP|IFF_RUNNING)) !=
(IFF_UP|IFF_RUNNING)) {
IF_DROP(&p->if_snd);
- ifp->if_oerrors++;
m_freem(m);
continue;
}
-/* $OpenBSD: ip_carp.c,v 1.273 2015/09/28 08:36:24 mpi Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.274 2015/10/05 15:52:46 uebayasi Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
if ((ifp->if_carpdev->if_flags & (IFF_UP|IFF_RUNNING)) !=
(IFF_UP|IFF_RUNNING)) {
IF_DROP(&ifp->if_carpdev->if_snd);
- ifp->if_oerrors++;
m_freem(m);
continue;
}