<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/15841">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fsm: use deferred deallocation and term_stops_actions<br><br>Since osmo-bsc uses the MGCP client FSMs, it is required to enable these new<br>features to guarantee safe operation. The issue is described in detail in<br>commit logs linked below.<br><br>Depends: Ief4dba9ea587c9b4aea69993e965fbb20fb80e78 (libosmocore),<br>         I0adc13a1a998e953b6c850efa2761350dd07e03a (libosmocore)<br>Related: I7df2e9202b04e7ca7366bb0a8ec53cf3bb14faf3 (osmo-mgw)<br>Change-Id: Ib7fce7b7d54dfb87af97544796680919e5929a50<br>---<br>M src/osmo-bsc/osmo_bsc_main.c<br>1 file changed, 4 insertions(+), 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/41/15841/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c</span><br><span>index dacd61a..a6c44bb 100644</span><br><span>--- a/src/osmo-bsc/osmo_bsc_main.c</span><br><span>+++ b/src/osmo-bsc/osmo_bsc_main.c</span><br><span>@@ -824,6 +824,9 @@</span><br><span>     osmo_stats_init(tall_bsc_ctx);</span><br><span>       rate_ctr_init(tall_bsc_ctx);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+      osmo_fsm_set_dealloc_ctx(OTC_SELECT);</span><br><span style="color: hsl(120, 100%, 40%);">+ osmo_fsm_set_term_stops_actions(true);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>     /* Allocate global gsm_network struct */</span><br><span>     rc = bsc_network_alloc();</span><br><span>    if (rc) {</span><br><span>@@ -942,7 +945,7 @@</span><br><span>      }</span><br><span> </span><br><span>        while (1) {</span><br><span style="color: hsl(0, 100%, 40%);">-             osmo_select_main(0);</span><br><span style="color: hsl(120, 100%, 40%);">+          osmo_select_main_ctx(0);</span><br><span>     }</span><br><span> </span><br><span>        return 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/15841">change 15841</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/+/15841"/><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: Ib7fce7b7d54dfb87af97544796680919e5929a50 </div>
<div style="display:none"> Gerrit-Change-Number: 15841 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>