Currently, the code flow bails out without releasing the spin lock, leading to spin lock recursion. Additionally, the free function is called during this bail, which is a sleep function. To address this issue, ensure that the spin lock is released before proceeding to the bail. Change-Id: I57884049d7799c3c69eccb4fa2db043b073d5312 Signed-off-by: Abhishek Singh <quic_abhishes@quicinc.com>