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/i4b/layer2 | |
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/i4b/layer2')
-rw-r--r-- | sys/i4b/layer2/i4b_mbuf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i4b/layer2/i4b_mbuf.c b/sys/i4b/layer2/i4b_mbuf.c index 95f234c..c12a9ae 100644 --- a/sys/i4b/layer2/i4b_mbuf.c +++ b/sys/i4b/layer2/i4b_mbuf.c @@ -78,7 +78,7 @@ i4b_Dgetmbuf(int len) return(NULL); } - MGETHDR(m, M_DONTWAIT, MT_I4B_D); /* get mbuf with pkthdr */ + MGETHDR(m, M_NOWAIT, MT_I4B_D); /* get mbuf with pkthdr */ /* did we actually get the mbuf ? */ @@ -94,7 +94,7 @@ i4b_Dgetmbuf(int len) if(len >= MHLEN) { - MCLGET(m, M_DONTWAIT); + MCLGET(m, M_NOWAIT); if(!(m->m_flags & M_EXT)) { @@ -155,7 +155,7 @@ i4b_Bgetmbuf(int len) return(NULL); } - MGETHDR(m, M_DONTWAIT, MT_I4B_B); /* get mbuf with pkthdr */ + MGETHDR(m, M_NOWAIT, MT_I4B_B); /* get mbuf with pkthdr */ /* did we actually get the mbuf ? */ @@ -171,7 +171,7 @@ i4b_Bgetmbuf(int len) if(len >= MHLEN) { - MCLGET(m, M_DONTWAIT); + MCLGET(m, M_NOWAIT); if(!(m->m_flags & M_EXT)) { |