commit | 1c7c0d6b97513e79c304aaf834f83843f32a674d | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Mon Feb 03 13:03:30 2020 +0100 |
committer | Olivier Houchard <cognet@ci0.org> | Mon Feb 03 13:05:31 2020 +0100 |
tree | b8070fc41e2f717c8ec5082e6c64b2e285e39d5d | |
parent | 04f5fe87d3d3a222b89420f8c1231461f55ebdeb [diff] |
BUG/MAJOR: memory: Don't forget to unlock the rwlock if the pool is empty. In __pool_get_first(), don't forget to unlock the pool lock if the pool is empty, otherwise no writer will be able to take the lock, and as it is done when reloading, it leads to an infinite loop on reload. This should be backported with commit 04f5fe87d3d3a222b89420f8c1231461f55ebdeb