<ul><li>I have no time to write a test.</li><li>It is so obviously broken.</li><li>Why it is broken is explained in this patch and its comments.</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">I also found another failure in this code path just now: the assignment FSM does not get terminated in the lchan re-use case, and hence the ASSIGNMENT_END event never gets dispatched.</p><p style="white-space: pre-wrap; word-wrap: break-word;">This is completely untested, unneccessary, broken.</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">why disable instead of removing</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">if the failures around this get fixed, the disabled part still makes sense. It serves as a reminder where to implement channel re-use in the future.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Note that https://gerrit.osmocom.org/c/osmo-bsc/+/12625 is a merge conflict with this patch. I will put this one after the other.</p><p><a href="https://gerrit.osmocom.org/12401">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12401">change 12401</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/12401"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: I0c00ec2c120e5008281755adcd4944a3ce4d8355 </div>
<div style="display:none"> Gerrit-Change-Number: 12401 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 24 Jan 2019 16:30:40 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>