Project

General

Profile

Bug #82 » ppp.patch

qhwt+dfly, 02/04/2006 04:39 AM

View differences:

ppp/if_ppp.c 4 Feb 2006 04:29:19 -0000
error = 0;
}
} else {
lwkt_serialize_enter(sc->sc_if.if_serializer);
ASSERT_SERIALIZED(sc->sc_if.if_serializer);
error = ifq_enqueue(&sc->sc_if.if_snd, m0, &pktattr);
lwkt_serialize_exit(sc->sc_if.if_serializer);
}
if (error) {
crit_exit();
ppp_layer/ppp_tty.c 1 Feb 2006 16:28:58 -0000
m0->m_len -= PPP_HDRLEN;
/* call the upper layer to "transmit" it... */
lwkt_serialize_enter(sc->sc_if.if_serializer);
error = pppoutput(&sc->sc_if, m0, &dst, (struct rtentry *)0);
lwkt_serialize_exit(sc->sc_if.if_serializer);
crit_exit();
return (error);
}
(4-4/4)