diff options
author | alfred <alfred@FreeBSD.org> | 2003-01-21 08:56:16 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-01-21 08:56:16 +0000 |
commit | bf8e8a6e8f0bd9165109f0a258730dd242299815 (patch) | |
tree | f16a2fb9fa7a7fbc4c19e981d278d5f6eb53234d /sys/net/if_loop.c | |
parent | 2180deee00350fff613a1d1d1328eddc4c0ba9c8 (diff) | |
download | FreeBSD-src-bf8e8a6e8f0bd9165109f0a258730dd242299815.zip FreeBSD-src-bf8e8a6e8f0bd9165109f0a258730dd242299815.tar.gz |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Diffstat (limited to 'sys/net/if_loop.c')
-rw-r--r-- | sys/net/if_loop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index c753fdc..deeecab 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -147,7 +147,7 @@ lo_clone_create(ifc, unit) { struct lo_softc *sc; - MALLOC(sc, struct lo_softc *, sizeof(*sc), M_LO, M_WAITOK | M_ZERO); + MALLOC(sc, struct lo_softc *, sizeof(*sc), M_LO, M_ZERO); sc->sc_if.if_name = LONAME; sc->sc_if.if_unit = unit; @@ -215,7 +215,7 @@ looutput(ifp, m, dst, rt) struct mbuf *n; /* XXX MT_HEADER should be m->m_type */ - MGETHDR(n, M_DONTWAIT, MT_HEADER); + MGETHDR(n, M_NOWAIT, MT_HEADER); if (!n) goto contiguousfail; M_MOVE_PKTHDR(n, m); @@ -227,7 +227,7 @@ looutput(ifp, m, dst, rt) */ m->m_pkthdr.label.l_flags &= ~MAC_FLAG_INITIALIZED; #endif - MCLGET(n, M_DONTWAIT); + MCLGET(n, M_NOWAIT); if (! (n->m_flags & M_EXT)) { m_freem(n); goto contiguousfail; |