This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
osmith gerrit-no-reply at lists.osmocom.orgosmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/25024 ) Change subject: m3ua: reject deregistration of static routing keys ...................................................................... m3ua: reject deregistration of static routing keys Make STP_Tests_M3UA.TC_rkm_unreg_never_registered pass. Closes: OS#4239 Change-Id: Ie5d84d06e7d5d32c8a22f770f71a5449f4a78484 --- M src/xua_rkm.c 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/24/25024/1 diff --git a/src/xua_rkm.c b/src/xua_rkm.c index 10335ea..6abd17d 100644 --- a/src/xua_rkm.c +++ b/src/xua_rkm.c @@ -350,6 +350,12 @@ return -1; } + /* Reject if not dynamically allocated (OS#4239) */ + if (!as->rkm_dyn_allocated) { + msgb_append_dereg_res(resp, M3UA_RKM_DEREG_ERR_NOT_REGD, 0); + return -1; + } + /* Reject if ASP is not even part of AS */ if (!osmo_ss7_as_has_asp(as, asp)) { msgb_append_dereg_res(resp, M3UA_RKM_DEREG_ERR_INVAL_RCTX, 0); -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/25024 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: Ie5d84d06e7d5d32c8a22f770f71a5449f4a78484 Gerrit-Change-Number: 25024 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210723/b74e7719/attachment.htm>