Re: [Freeipa-devel] [PATCH 0205] Fix race condition during write to internal RBTDB

2014-02-21 Thread Petr Spacek
On 13.12.2013 17:44, Petr Spacek wrote: On 11.11.2013 13:03, Petr Spacek wrote: Hello, Fix race condition during write to internal RBTDB. RBTDB implementation allows to open only one RBTDB instance for writing at the same time. This patch adds mutex to newversion() implementation in ldap_drive

Re: [Freeipa-devel] [PATCH 0205] Fix race condition during write to internal RBTDB

2013-12-13 Thread Petr Spacek
On 11.11.2013 13:03, Petr Spacek wrote: Hello, Fix race condition during write to internal RBTDB. RBTDB implementation allows to open only one RBTDB instance for writing at the same time. This patch adds mutex to newversion() implementation in ldap_driver.c. See comments around ldapdb_t, newve

[Freeipa-devel] [PATCH 0205] Fix race condition during write to internal RBTDB

2013-11-11 Thread Petr Spacek
Hello, Fix race condition during write to internal RBTDB. RBTDB implementation allows to open only one RBTDB instance for writing at the same time. This patch adds mutex to newversion() implementation in ldap_driver.c. See comments around ldapdb_t, newversion() and closeversion(). -- Petr^2 Sp