<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10033">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_gmm: dont answer unknown IMSI/TMSI on Service Requests NET_FAIL<br><br>NET_FAIL will result in asking again and again. Reject with IMPL_DETACHED to drop the<br>MS completely.<br><br>Change-Id: I195d533e330a4b577cad80c7e757d481f9c837df<br>---<br>M src/gprs/gprs_gmm.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/33/10033/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c</span><br><span>index 91f769d..6ad076a 100644</span><br><span>--- a/src/gprs/gprs_gmm.c</span><br><span>+++ b/src/gprs/gprs_gmm.c</span><br><span>@@ -1834,7 +1834,7 @@</span><br><span>                      ctx = sgsn_mm_ctx_by_imsi(mi_string);</span><br><span>                if (!ctx) {</span><br><span>                  /* FIXME: We need to have a context for service request? */</span><br><span style="color: hsl(0, 100%, 40%);">-                     reject_cause = GMM_CAUSE_NET_FAIL;</span><br><span style="color: hsl(120, 100%, 40%);">+                    reject_cause = GMM_CAUSE_IMPL_DETACHED;</span><br><span>                      goto rejected;</span><br><span>               }</span><br><span>            msgid2mmctx(ctx, msg);</span><br><span>@@ -1847,7 +1847,7 @@</span><br><span>                       ctx = sgsn_mm_ctx_by_ptmsi(tmsi);</span><br><span>            if (!ctx) {</span><br><span>                  /* FIXME: We need to have a context for service request? */</span><br><span style="color: hsl(0, 100%, 40%);">-                     reject_cause = GMM_CAUSE_NET_FAIL;</span><br><span style="color: hsl(120, 100%, 40%);">+                    reject_cause = GMM_CAUSE_IMPL_DETACHED;</span><br><span>                      goto rejected;</span><br><span>               }</span><br><span>            msgid2mmctx(ctx, msg);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10033">change 10033</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/10033"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sgsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I195d533e330a4b577cad80c7e757d481f9c837df </div>
<div style="display:none"> Gerrit-Change-Number: 10033 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>