Bug 735121 - simple paged search + ip/dns based ACI hangs server
https://bugzilla.redhat.com/show_bug.cgi?id=735121
Resolves: bug 735121
Bug Description: simple paged search + ip/dns based ACI hangs server
Reviewed by: nhosoi (Thanks!)
Branch: RHEL-6_1-Z
Fix Description: The pb_conn->c_mutex lock around be->be_next_search_entry()
was too big. Other code inside be->be_next_search_entry needs to lock
the conn. In this particular case, the aci code needed to access the
client ip address from the conn object. The fix is to remove the mutex
around be->be_next_search_entry() in iterate() and instead make sure
code that accesses pb_conn locks first.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
(cherry picked from commit b5f77c693d50ca3acf58eb7a41d9eded59328632)
(cherry picked from commit 1eee799f02555ee8e959193b5c53c3a10ce359f7)
(cherry picked from commit e8feae05604aa2659f4ccf969857902acbd096a5)