
Locks must be taken before accessing scan_db nodes to ensure reference counts are not changed while changing entries within the node or while freeing the node. Ensure that a spinlock is used before increasing the reference count to make sure that there is no other execution context accessing the scan_db. CRs-Fixed: 2791279 Change-Id: I4402ff15de7c8d4fc31009f7307ba262b4df6702