-/* $OpenBSD: if.c,v 1.338 2015/06/07 12:02:28 jsg Exp $ */
+/* $OpenBSD: if.c,v 1.339 2015/06/09 14:57:30 mpi Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
s = splnet();
while ((m = ml_dequeue(&ml)) != NULL) {
sched_pause();
-again:
+
/*
* Pass this mbuf to all input handlers of its
* interface until it is consumed.
SLIST_FOREACH(ifih, &ifp->if_inputs, ifih_next) {
if ((*ifih->ifih_input)(m))
break;
-
- /* Pseudo-drivers might be stacked. */
- if (ifp != m->m_pkthdr.rcvif)
- goto again;
}
}
splx(s);