Thanks for the pull request. I am not 100% sure if this approach is the right one.
* in line 83 the lock is allocated, sure
* the while loop basically has two exit conditions
* there are no free SPIs - first unlock, line 109
* a free SPI was found - second unlock, line 121
Your pull request changes this logic to unconditionally unlock, and then do a second
unlock again, if I am not wrong?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2941#issuecomment-973817111