<p>Neels Hofmeyr <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/10638">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">lchan_fsm: safer 'concluded' flag<br><br>The flag lchan->activate.concluded prevents entering the<br>lchan_on_fully_established()/lchan_on_activation_failure() more than once. So<br>far it was checked by callers, instead place in the functions themselves.<br><br>There is a potential functional change here, since during lchan_fail(), the<br>concluded flag was set only after entering lchan_on_activation_failure(). Now<br>it is already set at the start and prevents multiple re-entry beyond doubt.<br><br>This patch is not a result of an actual observed faulty behavior, just from<br>reading the code and seeing the slight loophole.<br><br>Change-Id: I0c906438b05442d66255203eb816453b7193a6d8<br>---<br>M include/osmocom/bsc/gsm_data.h<br>M src/osmo-bsc/lchan_fsm.c<br>2 files changed, 13 insertions(+), 8 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/38/10638/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/10638">change 10638</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/10638"/><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: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I0c906438b05442d66255203eb816453b7193a6d8 </div>
<div style="display:none"> Gerrit-Change-Number: 10638 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </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>