<p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/23923">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/23923/1/src/common/bts_trx.c">File src/common/bts_trx.c:</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/osmo-bts/+/23923/1/src/common/bts_trx.c@205">Patch Set #1, Line 205:</a> <code style="font-family:monospace,monospace">link ? "up" : "down");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">The 'link' can be NULL here, while you unconditionally dereference it below. I think a better place for setting DSCP would be sign_link_up()? There you definitely know that the link is up, and should not be NULL.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/23923/1/src/common/vty.c">File src/common/vty.c:</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/osmo-bts/+/23923/1/src/common/vty.c@604">Patch Set #1, Line 604:</a> <code style="font-family:monospace,monospace">BTS_VTY_ATTR_NEW_LCHAN</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This is not the case, because it actually applies on the OML link establishment. I think we need a new VTY attribute for that - BTS_VTY_ATTR_RESTART_ABIS_OML_LINK.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/23923/1/src/common/vty.c@618">Patch Set #1, Line 618:</a> <code style="font-family:monospace,monospace">BTS_VTY_ATTR_NEW_LCHAN</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Same here, BTS_VTY_ATTR_RESTART_ABIS_RSL_LINK.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/23923">change 23923</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/+/23923"/><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: Ic302a695453514459fa27400027154e7e8b74e0e </div>
<div style="display:none"> Gerrit-Change-Number: 23923 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 28 Apr 2021 12:29:15 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>