Attention is currently required from: osmith.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/42534?usp=email )
Change subject: osmo_ss7_find_free_{rctx,l_rk_id}(): Make more robust to wrap-around
......................................................................
Patch Set 1:
(1 comment)
File src/ss7_instance.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/42534/comment/3e90f105_c91047... :
PS1, Line 261: } while (rctx != next_rctx);
looks like if all rctx are used, this would loop forever. […]
Not sure what you mean. After uint32 iterations (supposing all are in use), the while loop will exit here.
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/42534?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ie10f4048d0af384dc84c79e6fc441c8537649d55
Gerrit-Change-Number: 42534
Gerrit-PatchSet: 1
Gerrit-Owner: pespin
pespin@sysmocom.de
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: osmith
osmith@sysmocom.de
Gerrit-Attention: osmith
osmith@sysmocom.de
Gerrit-Comment-Date: Mon, 30 Mar 2026 13:40:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith
osmith@sysmocom.de