summaryrefslogtreecommitdiffstats
path: root/sys/i4b/layer2/i4b_mbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i4b/layer2/i4b_mbuf.c')
-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 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))
{
OpenPOWER on IntegriCloud