<p>Pau Espin Pedrol <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/10025">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gtp: Fix crash using new libgtp cb_recovery API<br><br>When PDP CTX CREATE ACK is received with an increased RestartCtr, cb_recovery<br>is called first, which will dettach ggsn from al pdp ctx (free the<br>pdp_t). But when giving control back from the ctrl, libgtp still uses<br>that freed ctx and sends it back to osmo-sgsn through cb_conf().<br><br>As specs state in any case that we need to handle the message containing<br>the increased RestartCtr as valid, we then need to avoid freeing the pdp<br>ctx and leave handling for later in cb_conf.<br><br>Change-Id: I0989c00e18ca95a099e1a312940eaac71957b444<br>---<br>M include/osmocom/sgsn/gprs_sgsn.h<br>M src/gprs/gprs_sgsn.c<br>M src/gprs/sgsn_libgtp.c<br>3 files changed, 14 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/25/10025/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/10025">change 10025</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/10025"/><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: I0989c00e18ca95a099e1a312940eaac71957b444 </div>
<div style="display:none"> Gerrit-Change-Number: 10025 </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>