From cf874b345d0f766fb64cf4737e1c85ccc78d2bee Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 19 Feb 2003 05:47:46 +0000 Subject: Back out M_* changes, per decision of the TRB. Approved by: trb --- sys/net/if_stf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if_stf.c') diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c index b96883c..1d84836 100644 --- a/sys/net/if_stf.c +++ b/sys/net/if_stf.c @@ -179,7 +179,7 @@ stf_clone_create(ifc, unit) { struct stf_softc *sc; - sc = malloc(sizeof(struct stf_softc), M_STF, M_ZERO); + sc = malloc(sizeof(struct stf_softc), M_STF, M_WAITOK | M_ZERO); sc->sc_if.if_name = STFNAME; sc->sc_if.if_unit = unit; @@ -446,7 +446,7 @@ stf_output(ifp, m, dst, rt) } #endif /*NBPFILTER > 0*/ - M_PREPEND(m, sizeof(struct ip), M_NOWAIT); + M_PREPEND(m, sizeof(struct ip), M_DONTWAIT); if (m && m->m_len < sizeof(struct ip)) m = m_pullup(m, sizeof(struct ip)); if (m == NULL) { -- cgit v1.1