> I tried to implement a fix, but immediately stumbled on another potential
> issue: How can `rtpp_no` be read/kept uptodate under a different lock than
> the lock that protects the actual list of nodes
> (`rtpp_set_list->rset_head_lock`)? What happens if those get out-of-sync?
Should be safe I think? The list of nodes can only ever grow, so worst case
you'll find more nodes than you have made an array for, and that's protected
for by having `idx < total_nodes` in the loop condition
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/3c0d17fa6ddb456e43d8b295e4112fe5b05853ad#commitcomment-179391837
You are receiving this because you are subscribed to this thread.
Message ID:
<kamailio/kamailio/commit/3c0d17fa6ddb456e43d8b295e4112fe5b05853ad/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!