[XS] Change in osmo-sgsn[master]: mmctx: only dispatch mm_state_fsm when not DETACHED/IDLE
Attention is currently required from: lynxis lazus, pespin. laforge has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43697?usp=email ) Change subject: mmctx: only dispatch mm_state_fsm when not DETACHED/IDLE ...................................................................... Patch Set 3: Code-Review+1 (1 comment) File src/sgsn/gprs_gmm.c: https://gerrit.osmocom.org/c/osmo-sgsn/+/43697/comment/32484867_dade075b?usp... : PS1, Line 195: if (ctx->iu.mm_state_fsm->state != ST_PMM_DETACHED)
I would like to have an fsm config to ignore invalid events. That would be fundamentally different than the osmo_fsm which we currently have. I think it is a matter of safe programming practice to not just ignore something unexpected/invalid, but to explicitly list all the events that are permitted in a given state.
-- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43697?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: Ieec94bf0e762fd8c4ecc1e4dea5bb7c1cb23165c Gerrit-Change-Number: 43697 Gerrit-PatchSet: 3 Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-Attention: pespin <pespin@sysmocom.de> Gerrit-Attention: lynxis lazus <lynxis@fe80.eu> Gerrit-Comment-Date: Tue, 22 Sep 2026 14:46:38 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: pespin <pespin@sysmocom.de> Comment-In-Reply-To: lynxis lazus <lynxis@fe80.eu>
participants (1)
-
laforge