<p>Stefan Sperling <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/11704">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">return error code from xua_srv_conn_cb() if conn is freed<br><br>Allow callers of xua_srv_conn_cb() to tell whether conn<br>was freed by returning error code EBADF, which is also<br>used elsewhere in osmocom programs for this purpose.<br><br>This is necessary because xua_srv_conn_cb(0 might be running<br>inside of a loop which checks for read and then write events<br>on the connection. If the connection is freed by xua_srv_conn_cb()<br>as part of processing a read event, callers should avoid further<br>processing of events. But if we don't return an error we are leaving<br>callers none the wiser and with a dangling conn pointer.<br><br>Change-Id: I7359667b2f25d6c45acc70049b2a4ee2f376a1df<br>Related: OS#3685<br>---<br>M src/osmo_ss7.c<br>1 file changed, 5 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/04/11704/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/11704">change 11704</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/11704"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-sccp </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I7359667b2f25d6c45acc70049b2a4ee2f376a1df </div>
<div style="display:none"> Gerrit-Change-Number: 11704 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>