Commit 9beaead5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

OK, that was sort of embarrasing: Allocate enough space for *both*

the two sess-> suckaddrs.
parent b1b81140
......@@ -464,7 +464,7 @@ SES_NewPool(struct pool *wp, unsigned pool_no)
pp->mpl_req = MPL_New(nb, &cache_param->req_pool,
&cache_param->workspace_client);
bprintf(nb, "sess%u", pool_no);
ses_size = sizeof (struct sess) + vsa_suckaddr_len;
ses_size = sizeof (struct sess) + vsa_suckaddr_len * 2;
pp->mpl_sess = MPL_New(nb, &cache_param->sess_pool, &ses_size);
return (pp);
}
......
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