summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/uipc_mbuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index ee0b58c..2db80b2 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -249,9 +249,11 @@ m_mballoc_wait(int caller, int type)
struct mbuf *p;
int s;
+ s = splimp();
m_mballoc_wid++;
if ((tsleep(&m_mballoc_wid, PVM, "mballc", mbuf_wait)) == EWOULDBLOCK)
m_mballoc_wid--;
+ splx(s);
/*
* Now that we (think) that we've got something, we will redo an
OpenPOWER on IntegriCloud