lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/10033


Change subject: gprs_gmm: dont answer unknown IMSI/TMSI on Service Requests 
NET_FAIL
......................................................................

gprs_gmm: dont answer unknown IMSI/TMSI on Service Requests NET_FAIL

NET_FAIL will result in asking again and again. Reject with IMPL_DETACHED to 
drop the
MS completely.

Change-Id: I195d533e330a4b577cad80c7e757d481f9c837df
---
M src/gprs/gprs_gmm.c
1 file changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index 91f769d..6ad076a 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -1834,7 +1834,7 @@
                        ctx = sgsn_mm_ctx_by_imsi(mi_string);
                if (!ctx) {
                        /* FIXME: We need to have a context for service 
request? */
-                       reject_cause = GMM_CAUSE_NET_FAIL;
+                       reject_cause = GMM_CAUSE_IMPL_DETACHED;
                        goto rejected;
                }
                msgid2mmctx(ctx, msg);
@@ -1847,7 +1847,7 @@
                        ctx = sgsn_mm_ctx_by_ptmsi(tmsi);
                if (!ctx) {
                        /* FIXME: We need to have a context for service 
request? */
-                       reject_cause = GMM_CAUSE_NET_FAIL;
+                       reject_cause = GMM_CAUSE_IMPL_DETACHED;
                        goto rejected;
                }
                msgid2mmctx(ctx, msg);

--
To view, visit https://gerrit.osmocom.org/10033
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I195d533e330a4b577cad80c7e757d481f9c837df
Gerrit-Change-Number: 10033
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <[email protected]>

Reply via email to