Commit 66beb682 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a race in persistent startup which seldomly triggered p00005

parent 6f0f632c
......@@ -166,8 +166,8 @@ smp_load_seg(struct worker *wrk, const struct smp_sc *sc,
oc->ban = BAN_RefBan(oc, so->ban, sc->tailban);
HSH_Insert(wrk, so->hash, oc);
oc->exp = so->exp;
EXP_Inject(wrk, oc, sg->lru);
sg->nobj++;
EXP_Inject(wrk, oc, sg->lru);
}
Pool_Sumstat(wrk);
sg->flags |= SMP_SEG_LOADED;
......
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