Make sure the OSD methods for jail set and remove can't run concurrently,
by holding allprison_lock exclusively (even if only for a moment before
downgrading) on all paths that call PR_METHOD_REMOVE. Since they may run
on a downgraded lock, it's still possible for them to run concurrently
with PR_METHOD_GET, which will need to use the prison lock.
Description
Description
Details
Details
- Provenance
jamie Authored on - Parents
- rS301744: MFC r301513:
- Branches
- Unknown
- Tags