]> git.sur5r.net Git - openldap/commit
fix syncprov_qtask race, test062 crashes
authorHoward Chu <hyc@openldap.org>
Fri, 13 Oct 2017 16:16:25 +0000 (17:16 +0100)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Oct 2017 16:28:28 +0000 (17:28 +0100)
commit065b315f0da07e2d30308316ae38fe62dd488539
treeeaa94efff494b69d726ea04d0ebac91720e14d3f
parentd7b2c768313f2fd72e660df3bef6f344e3b90403
fix syncprov_qtask race, test062 crashes

Keep s_mutex locked until we know we're removed from queue.
Remember qtask cookie so we can retract if ineeded when deleting
the overlay from running slapd.

config_delete is still unsafe, overlay_remove is running with active
threadpool instead of paused pool.
servers/slapd/overlays/syncprov.c