[sr-dev] [kamailio/kamailio] Fix a possible deadlock bug due to unreleased lock (PR #2941)
Henning Westerholt
notifications at github.com
Fri Nov 19 08:21:58 CET 2021
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211118/1328e88b/attachment-0001.htm>
More information about the sr-dev
mailing list