<p>Neels Hofmeyr <strong>uploaded patch set #6</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/13393">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fsm_dealloc_test: no need for ST_DESTROYING<br><br>A separate ST_DESTROYING state originally helped with certain deallocation<br>scenarios. But now that fsm.c avoids re-entering osmo_fsm_inst_term() twice and<br>gracefully handles FSM instance deallocations for termination cascades, it is<br>actually just as safe without a separate ST_DESTROYING state. ST_DESTROYING was<br>used to flag deallocation and prevent entering osmo_fsm_inst_term() twice,<br>which works only in a very limited range of scenarios.<br><br>Remove ST_DESTROYING from fsm_dealloc_test.c to show that all tested scenarios<br>still clean up gracefully.<br><br>Change-Id: I05354e6cad9b82ba474fa50ffd41d481b3c697b4<br>---<br>M tests/fsm/fsm_dealloc_test.c<br>M tests/fsm/fsm_dealloc_test.err<br>2 files changed, 1,522 insertions(+), 1,801 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/93/13393/6</pre><p>To view, visit <a href="https://gerrit.osmocom.org/13393">change 13393</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/13393"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I05354e6cad9b82ba474fa50ffd41d481b3c697b4 </div>
<div style="display:none"> Gerrit-Change-Number: 13393 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>