From ba88076ef9503ee30a4935082c20292e592a7ba5 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 20 Dec 2023 20:16:08 +0100 Subject: [PATCH] fixup --- src/mme/mme-gn-handler.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/mme/mme-gn-handler.c b/src/mme/mme-gn-handler.c index 16c4270fcb..2e930c8be6 100644 --- a/src/mme/mme-gn-handler.c +++ b/src/mme/mme-gn-handler.c @@ -183,6 +183,17 @@ void mme_gn_handle_sgsn_context_acknowledge( { int rv; + rv = ogs_gtp_xact_commit(xact); + if (rv != OGS_OK) { + ogs_error("ogs_gtp_xact_commit() failed"); + return; + } + + if (!mme_ue) { + ogs_error("MME-UE Context has already been removed"); + return; + } + /* 3GPP TS 23.060 6.9.1.2.2 Step 4), 3GPP TS 23.401 D.3.5 Step 4) * The new SGSN sends an SGSN Context Acknowledge message to the old SGSN. The old MME (which is the old * SGSN from the new SGSN's point of view) marks in its context that the information in the GWs and the HSS are