<p>pespin <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/25458">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">abis.c: Fix mess with priv->bsc_oml_host<br><br>The pointer was used as "struct bsc_oml_host" sometimes, and other times<br>as "struct llist_head". It just worked because bsc_oml_host->list is the<br>first item in the script. The code was really confusing, also because<br>the bts list of items has a name really similar to the one currently<br>assigned. Let's rename the currently assigned address to "current_bsc",<br>store it always as "struct bsc_oml_host*" and finally use llist_entry<br>helpers when needed.<br><br>The related code is also moved to a helper function to enclose there the<br>logic to get next BSC in list. This change actually changes the logic<br>where a remote address is removed from VTY, since now the next address<br>in list is picked at the time, and later when reconnecting the list is<br>forwarded another time, meaning one address w This change actually<br>changes the logic where a remote address is removed from VTY, since now<br>the next address in list is picked at the time, and later when<br>reconnecting the list is forwarded another time, meaning one address<br>will be skipped. This could be considered a bug, but this situation is<br>really special and anyway the entire logic will be changed in new<br>commits where we'll keep reconnecting in loop without exiting when<br>reaching the end of the list, so we are fine with it. Think of this<br>commit as a preparation commit for next ones.<br><br>Change-Id: I3cc8a4148b3d63bc185b72dab8108105a6644910<br>---<br>M include/osmo-bts/abis.h<br>M src/common/abis.c<br>2 files changed, 32 insertions(+), 20 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/58/25458/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/25458">change 25458</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-bts/+/25458"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3cc8a4148b3d63bc185b72dab8108105a6644910 </div>
<div style="display:none"> Gerrit-Change-Number: 25458 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>