<p>daniel has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12174">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gsm_04_08: Free GSM subscr conn if paging response can't be matched<br><br>The current idea of calling gscon_release_lchans is not enough because<br>the conn is still present.<br>Insetad pretend we got a disconnect indication from the MSC which will<br>call gscon_release_lchans as well as terminate the conn state machine<br>which will clean up conn state as well.<br><br>Ticket: OS#3680<br>Change-Id: Iccf5f6864ffe238189907c4bb3ea333948621b4c<br>---<br>M src/osmo-bsc/gsm_04_08_rr.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/74/12174/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/gsm_04_08_rr.c b/src/osmo-bsc/gsm_04_08_rr.c</span><br><span>index 4be5198..f1061ef 100644</span><br><span>--- a/src/osmo-bsc/gsm_04_08_rr.c</span><br><span>+++ b/src/osmo-bsc/gsm_04_08_rr.c</span><br><span>@@ -951,7 +951,7 @@</span><br><span>                /* fwd via bsc_api to send COMPLETE L3 INFO to MSC */</span><br><span>                rc = bsc_compl_l3(lchan->conn, msg, 0);</span><br><span>           if (rc < 0) {</span><br><span style="color: hsl(0, 100%, 40%);">-                        gscon_release_lchans(lchan->conn, true);</span><br><span style="color: hsl(120, 100%, 40%);">+                   osmo_fsm_inst_dispatch(lchan->conn->fi, GSCON_EV_A_DISC_IND, NULL);</span><br><span>                    return rc;</span><br><span>           }</span><br><span>            /* conn shall release lchan on teardown, also if this Layer 3 Complete is rejected. */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12174">change 12174</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/12174"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Iccf5f6864ffe238189907c4bb3ea333948621b4c </div>
<div style="display:none"> Gerrit-Change-Number: 12174 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>