<p>Patch set 3:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +1</span></p><p><a href="https://gerrit.osmocom.org/11562">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11562/3//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11562/3//COMMIT_MSG@11">Patch Set #3, Line 11:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">and since notification to RSL Emulation happens async, it<br>can happen (verified) that ChanRqd message from BTS arrives and is<br>handled before we register the RACH req into the ConnectionTable<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">one option that could be investigated is to temporarily pause processing of any RSL events until you have received the fn from L1CTL and installed the expectation in the ConnectionTable.</p><p style="white-space: pre-wrap; word-wrap: break-word;">We already have this kind of logic as 'dchan_suspended' in RSL_Emulation.ttcn.  You could also have something like a chan_rqd_suspended and set/unset that via procedure port.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I'm not saying it must be done that way, I'm just stating this is a proven option to work around such races.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11562">change 11562</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/11562"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I438fd3ee82d88498d928dbcc89ce9bd80d37ab64 </div>
<div style="display:none"> Gerrit-Change-Number: 11562 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@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>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 02 Nov 2018 22:16:47 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>