<p>pespin <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/15408">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bsc_subscr_conn_fsm: Cleanly clear BSSAP conn if associated channel closed during WAIT_CC<br><br>TTCN3 BSC_Tests.TC_ms_rel_ind_does_not_cause_bssmap_reset seems to<br>sometimes run into a race condition on the order of messages received by<br>osmo-bsc comming from MSC and BTS.<br><br>Usual (expected) scenario):<br>BTS->BSC      EST IND<br>     BSC->MSC CL3 Info<br>     BSC<-MSC CC<br>BTS->BSC      REL IND<br>BTS<-BSC      DEACT SACCH<br>     BSC->MSC ClearRequest<br>     BSC<-MSC ClearCommand<br>     BSC->MSC ClearComplete<br>BTS<-BSC      RF Chan Release<br>BTS->BSC      RF Chan Release ACK<br><br>Sometimes CC message and REL IND message are received swapped (because they<br>are sent by different components asynchronously in TTCN3).<br><br>As a result, osmo-bsc was failing to go into CLEARING state and was<br>unable to send the ClearRequest because CC was still not received.<br>So the idea is to stay in WAIT_CC until CC is received, then check if<br>the lchan was dropped and in that case go into clearing state.<br><br>Change-Id: Id1abf5ee44c60925b478123409f26bd29006202b<br>---<br>M src/osmo-bsc/bsc_subscr_conn_fsm.c<br>1 file changed, 28 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/08/15408/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/15408">change 15408</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/c/osmo-bsc/+/15408"/><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-Change-Id: Id1abf5ee44c60925b478123409f26bd29006202b </div>
<div style="display:none"> Gerrit-Change-Number: 15408 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>