[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Bug with pid in back-shell abandon (ITS#2519)



Fixed.

However, I also had to remove a lock of op->o_conn->c_mutex around the
loop
	LDAP_STAILQ_FOREACH( o, &op->o_conn->c_ops, o_next ) {
		if ( o->o_msgid == op->oq_abandon.rs_msgid ) {
			pid = (pid_t) o->o_private;
			break;
		}
	}
in back-shell/abandon.c, because the mutex was already locked in
slapd/abandon.c.  I'd appreciate if someone who knows slapd's mutexes
could check if some _other_ mutex was intended to be locked instead.

-- 
Hallvard