use if_transmit intead of direct frobbing of the if_snd q; this is no

longer allowed

Identified by:	rwatson
Reviewed by:	kmacy
This commit is contained in:
Sam Leffler 2009-04-27 22:06:49 +00:00
parent c39437eb46
commit 5d3220403f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191603

View File

@ -1761,24 +1761,15 @@ bridge_enqueue(struct bridge_softc *sc, struct ifnet *dst_ifp, struct mbuf *m)
}
if (err == 0)
IFQ_ENQUEUE(&dst_ifp->if_snd, m, err);
dst_ifp->if_transmit(dst_ifp, m);
}
if (err == 0) {
sc->sc_ifp->if_opackets++;
sc->sc_ifp->if_obytes += len;
dst_ifp->if_obytes += len;
if (mflags & M_MCAST) {
if (mflags & M_MCAST)
sc->sc_ifp->if_omcasts++;
dst_ifp->if_omcasts++;
}
}
if ((dst_ifp->if_drv_flags & IFF_DRV_OACTIVE) == 0)
(*dst_ifp->if_start)(dst_ifp);
}
/*