<p>Pau Espin Pedrol <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/10006">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gtp: Add new API to avoid freeing pdp contexts during DEL CTX REQ<br><br>With this API, user is expectd to free the PDP ctx when the confirmation<br>for the release has been received (cb_conf time). This way user can<br>maintain the pdp ctx alive during all this time. Extra code is added to<br>gtp_delete_pdp_resp() since it's now possible to match it and push it up<br>to the user cb_conf.<br><br>This way, cb_conf() can be used for locally-initiated DEL CTX REQ, while<br>delete_context() cb is left for remotely-initiated DEL CTX REQ. In this<br>later case, when the DEL CTX RESP is sent the ctx is deleted and the<br>delete_context() is called, where the user can do related actions or<br>trigger consequence events (in the case of SGSN, it will drop all<br>related GGSN bits for that PDP ctx and forward the DEACT PDP CTX to the<br>MS).<br><br>Change-Id: I29d366253bb98dcba328c7ce8aa3e4daf8f75e6c<br>---<br>M gtp/gtp.c<br>M gtp/gtp.h<br>2 files changed, 74 insertions(+), 38 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/06/10006/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/10006">change 10006</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/10006"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ggsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I29d366253bb98dcba328c7ce8aa3e4daf8f75e6c </div>
<div style="display:none"> Gerrit-Change-Number: 10006 </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: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>