aboutsummaryrefslogtreecommitdiff
path: root/sys/i4b/layer2
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
committerWarner Losh <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
commita163d034fadcfb4a25ca34a2ba5f491c47b6ff69 (patch)
tree9e20e320fe15ae4bf68f8335fcf9d3e71d3b3614 /sys/i4b/layer2
parent8f3e32c2b6b9f392e096f096653596f55f2134ae (diff)
Notes
Diffstat (limited to 'sys/i4b/layer2')
-rw-r--r--sys/i4b/layer2/i4b_mbuf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i4b/layer2/i4b_mbuf.c b/sys/i4b/layer2/i4b_mbuf.c
index c12a9ae97bd98..95f234ce43f33 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_NOWAIT, MT_I4B_D); /* get mbuf with pkthdr */
+ MGETHDR(m, M_DONTWAIT, 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_NOWAIT);
+ MCLGET(m, M_DONTWAIT);
if(!(m->m_flags & M_EXT))
{
@@ -155,7 +155,7 @@ i4b_Bgetmbuf(int len)
return(NULL);
}
- MGETHDR(m, M_NOWAIT, MT_I4B_B); /* get mbuf with pkthdr */
+ MGETHDR(m, M_DONTWAIT, 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_NOWAIT);
+ MCLGET(m, M_DONTWAIT);
if(!(m->m_flags & M_EXT))
{