Attention is currently required from: fixeria, laforge, osmith.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/39702?usp=email )
Change subject: xua_asp_fsm: Avoid sending NOTIFY in ASP role
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
Patchset:
PS1:
merging now since I introduced the bug myself recently and I manually tested the NOTIFY is no longer sent.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/39702?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: I48848a69cabbd1c7279344dc8b2b7e2927894d26
Gerrit-Change-Number: 39702
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 05 Mar 2025 16:49:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: lynxis lazus, pespin.
neels has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-msc/+/38490?usp=email )
Change subject: vlr: add PS support
......................................................................
Patch Set 9: Code-Review+1
(2 comments)
File src/libvlr/vlr_lu_fsm.c:
https://gerrit.osmocom.org/c/osmo-msc/+/38490/comment/e7c31aa4_d4264ef6?usp… :
PS5, Line 771: /*! count times timer T timed out */
> I'm sure whatever else you put in there will be easier to read, that's really a tongue twister.
i will veto block this patch unless you make this:
"Tally times timer T triggered timeout"
https://gerrit.osmocom.org/c/osmo-msc/+/38490/comment/dd7d5d05_53c9a443?usp… :
PS5, Line 1611: fi->T
> In this case, you could also pass -1 to it. […]
I'm a bit confused about what i meant with my original comment.
But I'm also still confused by the two arguments for CS and PS, particularly because there is no VLR that is both CS and PS at the same time, is there?
I see in my original comment i tried to find out how by looking for callers...
So even though i don't have a good point to make, my gut feel is that this could be less confusing? (if only a comment explaining why this is cool)
About the code change you hint, I do see that vlr_timer_secs() says
* TODO: we should start using osmo_tdef_fsm_inst_state_chg() */
and that sounds about right to me.
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38490?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ie9ffeb140c9d354b3a0f4822e2619f623235add0
Gerrit-Change-Number: 38490
Gerrit-PatchSet: 9
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 05 Mar 2025 15:59:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: lynxis lazus <lynxis(a)fe80.eu>
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/39702?usp=email )
Change subject: xua_asp_fsm: Avoid sending NOTIFY in ASP role
......................................................................
xua_asp_fsm: Avoid sending NOTIFY in ASP role
Fixes: f2e324e2f82efc93fd2a1124fa216d680659ed40
Change-Id: I48848a69cabbd1c7279344dc8b2b7e2927894d26
---
M src/xua_asp_fsm.c
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/02/39702/1
diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c
index 9ad9dce..ec149d1 100644
--- a/src/xua_asp_fsm.c
+++ b/src/xua_asp_fsm.c
@@ -481,14 +481,17 @@
static void xua_asp_fsm_inactive_onenter(struct osmo_fsm_inst *fi, uint32_t prev_state)
{
struct xua_asp_fsm_priv *xafp = fi->priv;
+ struct osmo_ss7_asp *asp = xafp->asp;
/* RFC4666 4.3.4.5: "When an ASP moves from ASP-DOWN to ASP-INACTIVE within a
* particular AS, a Notify message SHOULD be sent, by the ASP-UP receptor,
* after sending the ASP-UP-ACK, in order to inform the ASP of the current AS
* state."
+ * NOTIFY is only transmitted by roles SG and IPSP.
*/
struct xua_as_event_asp_inactive_ind_pars pars = {
- .asp = xafp->asp,
- .asp_requires_notify = (prev_state == XUA_ASP_S_DOWN),
+ .asp = asp,
+ .asp_requires_notify = (asp->cfg.role != OSMO_SS7_ASP_ROLE_ASP) &&
+ (prev_state == XUA_ASP_S_DOWN),
};
dispatch_to_all_as(fi, XUA_ASPAS_ASP_INACTIVE_IND, &pars);
}
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/39702?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I48848a69cabbd1c7279344dc8b2b7e2927894d26
Gerrit-Change-Number: 39702
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Attention is currently required from: pespin.
daniel has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/39406?usp=email )
Change subject: AS loadsharing: Introduce AS rate_ctr rx:msu:sls:*
......................................................................
Patch Set 9: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/39406?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: I695bd3933a116323db45ab7f45dcf539791139aa
Gerrit-Change-Number: 39406
Gerrit-PatchSet: 9
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 05 Mar 2025 15:51:40 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: lynxis lazus.
neels has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-msc/+/38489?usp=email )
Change subject: vlr: when receiving imsi detach, purge the subscriber towards HLR
......................................................................
Patch Set 8: Code-Review+2
(1 comment)
File src/libvlr/vlr.c:
https://gerrit.osmocom.org/c/osmo-msc/+/38489/comment/2736ab46_60c49f4c?usp… :
PS8, Line 1519: rc = vlr_subscr_purge(vsub);
(i think i would have added this vlr_subscr_detach() instead, not strong opinion)
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38489?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I9c2569c45e69b422ce26050b682e6eb26c1c2625
Gerrit-Change-Number: 38489
Gerrit-PatchSet: 8
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 05 Mar 2025 15:47:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: lynxis lazus.
neels has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-msc/+/38488?usp=email )
Change subject: vlr: extend the subscriber invalidate callback with reasons
......................................................................
Patch Set 8: Code-Review+2
(1 comment)
Patchset:
PS8:
(summing in past +1 from others to give +2)
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38488?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ie5b687318b106a230fcee52deba86649641004b3
Gerrit-Change-Number: 38488
Gerrit-PatchSet: 8
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 05 Mar 2025 15:37:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: lynxis lazus.
neels has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-msc/+/38488?usp=email )
Change subject: vlr: extend the subscriber invalidate callback with reasons
......................................................................
Patch Set 8:
(6 comments)
Patchset:
PS8:
(summing in past +1 by others to give a +2)
Commit Message:
https://gerrit.osmocom.org/c/osmo-msc/+/38488/comment/e58370ca_d66f7b25?usp… :
PS5, Line 13: b) if the HLR do a Cancel Location Procedure with reason withdraw
> @neels I'm a little bit unsure, if the MSC informs the user. […]
I think your idea is correct, that we simply drop the subscriber from the VLR cache. Maybe somewhere in the specs (in the VLR state machine graphs?) they say that some other action could be performed to immediately notify the MS, but as i see it that would be just some kind of optimization.
If there is an active conn, we should probably close it with a BSSMAP Clear, which I see in the code is done, so that should be fine.
Commit Message:
https://gerrit.osmocom.org/c/osmo-msc/+/38488/comment/d45ddf3e_2436510f?usp… :
PS8, Line 15: d) duplicate entries (unsure if this is valid, but keeping the code as is)
duplicate entries are very important to prevent.
These obscure cases took some deep thinking to fix back in the days.
Search for "evil twin" in MSC_Tests.ttcn. If those tests still pass, you should be fine, IIRC
File include/osmocom/vlr/vlr.h:
https://gerrit.osmocom.org/c/osmo-msc/+/38488/comment/739ce548_17b48b1e?usp… :
PS8, Line 207: enum vlr_inval_reason {
these aren't from a spec, right? If they are, a comment to link to it would be great
https://gerrit.osmocom.org/c/osmo-msc/+/38488/comment/9cda0e76_0566c5fb?usp… :
PS8, Line 260: .
: */
(weird comment line break)
File src/libmsc/gsm_04_08.c:
https://gerrit.osmocom.org/c/osmo-msc/+/38488/comment/5b61aa51_7130904c?usp… :
PS8, Line 1587: msc_a_release_cn(msc_a);
(re my comment above, this is the release i was talking about, so it is already done properly)
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38488?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ie5b687318b106a230fcee52deba86649641004b3
Gerrit-Change-Number: 38488
Gerrit-PatchSet: 8
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 05 Mar 2025 15:36:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: lynxis lazus <lynxis(a)fe80.eu>