Commit de3b9560 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

stevedore: Set up nuke_limit for buffer allocations

parent a9af17c9
......@@ -122,6 +122,7 @@ STV_AllocBuf(struct worker *wrk, const struct stevedore *stv, size_t size)
if (stv->allocbuf == NULL)
return (NULL);
wrk->strangelove = cache_param->nuke_limit;
buf = stv->allocbuf(wrk, stv, size + PRNDUP(sizeof *stvbuf), &priv);
if (buf == NULL)
return (NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment