aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sgsn/gprs_gmm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sgsn/gprs_gmm.c b/src/sgsn/gprs_gmm.c
index afae369a..b6b16854 100644
--- a/src/sgsn/gprs_gmm.c
+++ b/src/sgsn/gprs_gmm.c
@@ -1699,6 +1699,12 @@ rejected:
mm_ctx_cleanup_free(mmctx, "GPRS RA UPDATE REJ");
else if (llme)
gprs_llgmm_unassign(llme);
+#ifdef BUILD_IU
+ else if (MSG_IU_UE_CTX(msg)) {
+ unsigned long X1001 = osmo_tdef_get(sgsn->cfg.T_defs, -1001, OSMO_TDEF_S, -1);
+ ranap_iu_tx_release_free(MSG_IU_UE_CTX(msg), NULL, (int) X1001);
+ }
+#endif
return rc;
}