Change in ...osmo-sgsn[master]: gprs_gmm: release Iu connection on RAU failures

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
Tue Sep 17 15:48:14 UTC 2019


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


Change subject: gprs_gmm: release Iu connection on RAU failures
......................................................................

gprs_gmm: release Iu connection on RAU failures

When a RAU fails without an a GMM context, release the Iu
connection after sending a response.

Change-Id: I05a9200f55d608ccfb3f86184c324a2b428da76b
---
M src/sgsn/gprs_gmm.c
1 file changed, 4 insertions(+), 0 deletions(-)



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

diff --git a/src/sgsn/gprs_gmm.c b/src/sgsn/gprs_gmm.c
index afae369..d0f5cb2 100644
--- a/src/sgsn/gprs_gmm.c
+++ b/src/sgsn/gprs_gmm.c
@@ -1699,6 +1699,10 @@
 		mm_ctx_cleanup_free(mmctx, "GPRS RA UPDATE REJ");
 	else if (llme)
 		gprs_llgmm_unassign(llme);
+	else if (MSG_IU_UE_CTX(msg)) {
+		/* TODO: use correct cause code */
+		ranap_iu_tx_release_free(MSG_IU_UE_CTX(msg), NULL, 5);
+	}
 
 	return rc;
 }

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

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I05a9200f55d608ccfb3f86184c324a2b428da76b
Gerrit-Change-Number: 15551
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/20190917/ec93425a/attachment.htm>


More information about the gerrit-log mailing list