[Date Prev][Date Next]
back-bdb backend_attribute leaks locks with overlays (ITS#3255)
Full_Name: Howard Chu
Submission from: (NULL) (22.214.171.124)
Submitted by: hyc
back-bdb's entry_get function compares boi->boi_bdb to op->o_db to see if the
passed in opinfo matches the current backend. But this comparison fails if the
backend has overlays stacked on it, because of all the op->o_db munging going
on. The result is that the wrong lockerID is used to lock the entry, and then
the lock is not released in entry_release.
I'm testing a fix now, that compares be_private pointers.