<p>Pau Espin Pedrol <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/9993">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sgsn: Don't attempt to delete GTP pdp ctx if GGSN was restarted<br><br>Scenario and behaviour before this commit:<br>- Received Echo Reply from GGSN has incremented RestartCounter<br>- func sgsn_ggsn_ctx_drop_all_pdp() is called to dettach all pdp ctx<br>from GGSN and request the MS to deact all related ctx.<br>- DEACT ACCEPT is received from MS, and then it tries to send DEL PDP CTX<br>to GGSN, expecting to receive a Confirmation and only then freeing the<br>pdp ctx.<br><br>The problem is that since the initial cause of triggering was a GGSN<br>restart, the GGSN doesn't know anything about that pdp ctx anymore, so<br>it's not useful sending it. We can instead dettach the GGSN and libgtp<br>ref at drop_all_pdp() time and then when we receive DEACT ACCEPT from MS<br>we can free the pdp ctx directly.<br><br>Change-Id: I1c74098e181552c218e152bf4ac5035cea770428<br>---<br>M src/gprs/gprs_gmm.c<br>M src/gprs/gprs_sgsn.c<br>2 files changed, 21 insertions(+), 7 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/93/9993/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/9993">change 9993</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/9993"/><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: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I1c74098e181552c218e152bf4ac5035cea770428 </div>
<div style="display:none"> Gerrit-Change-Number: 9993 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Holger Freyther <holger@freyther.de> </div>