Restore error handling lost in r191603

This was missed in the change from IFQ_ENQUEUE to if_transmit.

Sponsored by:   ADARA Networks
This commit is contained in:
Ed Maste 2012-07-09 14:16:49 +00:00
parent 5db75fc724
commit 21151865d5

View File

@ -1812,7 +1812,7 @@ bridge_enqueue(struct bridge_softc *sc, struct ifnet *dst_ifp, struct mbuf *m)
}
if (err == 0)
dst_ifp->if_transmit(dst_ifp, m);
err = dst_ifp->if_transmit(dst_ifp, m);
}
if (err == 0) {