<p>Keith Whyte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13929">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">libgtp: don't call sgsn_pdp_ctx_free() w/o MM ctx<br><br>On receipt of DELETE PDP CTX CONF, don't call<br>sgsn_pdp_ctx_free() if we don't have an MM context.<br><br>Change-Id: I184dcce27b26104c61d80b2d910388d5d3323def<br>---<br>M src/gprs/sgsn_libgtp.c<br>1 file changed, 1 insertion(+), 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/29/13929/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gprs/sgsn_libgtp.c b/src/gprs/sgsn_libgtp.c</span><br><span>index a8a1502..582f420 100644</span><br><span>--- a/src/gprs/sgsn_libgtp.c</span><br><span>+++ b/src/gprs/sgsn_libgtp.c</span><br><span>@@ -565,14 +565,13 @@</span><br><span> </span><br><span>               /* Confirm deactivation of PDP context to MS */</span><br><span>              rc = gsm48_tx_gsm_deact_pdp_acc(pctx);</span><br><span style="color: hsl(120, 100%, 40%);">+                sgsn_pdp_ctx_free(pctx);</span><br><span>     } else {</span><br><span>             LOGPDPCTXP(LOGL_NOTICE, pctx,</span><br><span>                           "Not deactivating SNDCP layer since the MM context "</span><br><span>                       "is not available\n");</span><br><span>  }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   sgsn_pdp_ctx_free(pctx);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span>     return rc;</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13929">change 13929</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/13929"/><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: I184dcce27b26104c61d80b2d910388d5d3323def </div>
<div style="display:none"> Gerrit-Change-Number: 13929 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Keith Whyte <keith@rhizomatica.org> </div>