Change in ...osmo-sgsn[master]: gprs_ranap: on Iu release, stop the attach fsm if running

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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Wed Sep 11 01:41:46 UTC 2019


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/15485


Change subject: gprs_ranap: on Iu release, stop the attach fsm if running
......................................................................

gprs_ranap: on Iu release, stop the attach fsm if running

A Iu release stops any active procedure.

Change-Id: I78c6c0c4024657212d6abef51e226ce233018fee
---
M src/sgsn/gprs_ranap.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/85/15485/1

diff --git a/src/sgsn/gprs_ranap.c b/src/sgsn/gprs_ranap.c
index 67dc82e..5617fbb 100644
--- a/src/sgsn/gprs_ranap.c
+++ b/src/sgsn/gprs_ranap.c
@@ -140,6 +140,8 @@
 		else
 			sgsn_ranap_iu_free(mm);
 
+		if (mm->gmm_att_req.fsm->state != ST_INIT)
+			osmo_fsm_inst_dispatch(mm->gmm_att_req.fsm, E_REJECT, (void *) GMM_DISCARD_MS_WITHOUT_REJECT);
 		rc = 0;
 		break;
 	case RANAP_IU_EVENT_SECURITY_MODE_COMPLETE:

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/15485
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I78c6c0c4024657212d6abef51e226ce233018fee
Gerrit-Change-Number: 15485
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190911/a4c1ff49/attachment.htm>


More information about the gerrit-log mailing list