also the comment above IFQ_ENQUEUE that says the pattr argument is unused.
ok mpi@
-/* $OpenBSD: if.c,v 1.388 2015/10/12 11:32:39 mpi Exp $ */
+/* $OpenBSD: if.c,v 1.389 2015/10/12 13:17:58 dlg Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
* Queue message on interface, and start output if interface
* not yet active.
*/
- IFQ_ENQUEUE(&ifp->if_snd, m, NULL, error);
+ IFQ_ENQUEUE(&ifp->if_snd, m, error);
if (error) {
splx(s);
return (error);
-/* $OpenBSD: if_ppp.c,v 1.89 2015/10/05 19:05:09 uebayasi Exp $ */
+/* $OpenBSD: if_ppp.c,v 1.90 2015/10/12 13:17:58 dlg Exp $ */
/* $NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $ */
/*
error = 0;
}
} else
- IFQ_ENQUEUE(&sc->sc_if.if_snd, m0, NULL, error);
+ IFQ_ENQUEUE(&sc->sc_if.if_snd, m0, error);
if (error) {
splx(s);
sc->sc_if.if_oerrors++;
error = 0;
}
} else
- IFQ_ENQUEUE(&sc->sc_if.if_snd, m, NULL, error);
+ IFQ_ENQUEUE(&sc->sc_if.if_snd, m, error);
if (error) {
sc->sc_if.if_oerrors++;
sc->sc_stats.ppp_oerrors++;
-/* $OpenBSD: if_var.h,v 1.47 2015/10/05 15:19:29 uebayasi Exp $ */
+/* $OpenBSD: if_var.h,v 1.48 2015/10/12 13:17:58 dlg Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
#define IF_LEN(ifq) ((ifq)->ifq_len)
#define IF_IS_EMPTY(ifq) ((ifq)->ifq_len == 0)
-/* XXX pattr unused */
-#define IFQ_ENQUEUE(ifq, m, pattr, err) \
+#define IFQ_ENQUEUE(ifq, m, err) \
do { \
if (HFSC_ENABLED(ifq)) \
(err) = hfsc_enqueue(((struct ifqueue *)(ifq)), m); \
-/* $OpenBSD: ieee80211_pae_output.c,v 1.23 2015/10/05 19:05:09 uebayasi Exp $ */
+/* $OpenBSD: ieee80211_pae_output.c,v 1.24 2015/10/12 13:17:58 dlg Exp $ */
/*-
* Copyright (c) 2007,2008 Damien Bergamini <damien.bergamini@free.fr>
if (info & EAPOL_KEY_KEYACK)
timeout_add_msec(&ni->ni_eapol_to, 100);
#endif
- IFQ_ENQUEUE(&ifp->if_snd, m, NULL, error);
+ IFQ_ENQUEUE(&ifp->if_snd, m, error);
if (error == 0) {
ifp->if_obytes += len;
if ((ifp->if_flags & IFF_OACTIVE) == 0)