Commit 5787407a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't try to rush waiting sessions of refcount is zero, there cannot be

any (they would hold a reference).

Should be merged to 2.0.3



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3799 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent f6179f42
......@@ -505,7 +505,8 @@ HSH_Deref(struct worker *w, struct object **oo)
r = --o->refcnt;
if (!r)
VTAILQ_REMOVE(&oh->objcs, oc, list);
hsh_rush(oh);
else
hsh_rush(oh);
Lck_Unlock(&oh->mtx);
}
......
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