<p style="white-space: pre-wrap; word-wrap: break-word;">A few minor nitpicks/log suggestions, but nothing major.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Overall I think it's pretty far along to being merge-able.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804">View Change</a></p><p>8 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804/1/src/gb_proxy.c">File src/gb_proxy.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-gbproxy/+/22804/1/src/gb_proxy.c@931">Patch Set #1, Line 931:</a> <code style="font-family:monospace,monospace"> /* TODO: Use bssgp_bvc_get_features_negotiated(src_cell->bss_bvc->fi) to check if the the BSS sided BVC actually</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">When this is implemented it should be done as first step. So move this comment to the beginning of or even before the call to this function.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804/1/src/gb_proxy.c@939">Patch Set #1, Line 939:</a> <code style="font-family:monospace,monospace">shoud</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">should</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804/1/src/gb_proxy.c@942">Patch Set #1, Line 942:</a> <code style="font-family:monospace,monospace">                 LOGP(DLBSSGP, LOGL_DEBUG, "%s %s relaying RIM-PDU: src=%s, dest=%s\n", log_pfx, pdut_name,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Could you vary the log lines so they indicate which path is taken?</p><p style="white-space: pre-wrap; word-wrap: break-word;">"relaying RIM-PDU BSS->BSS"</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804/1/src/gb_proxy.c@946">Patch Set #1, Line 946:</a> <code style="font-family:monospace,monospace">              LOGP(DGPRS, LOGL_NOTICE,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I don't think we need this log at all and if we do it should be DEBUG.</p><p style="white-space: pre-wrap; word-wrap: break-word;">A GERAN destination could just as easily be connected to the SGSN directly (or to a different gbproxy) so this is not an abnormal condition.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804/1/src/gb_proxy.c@961">Patch Set #1, Line 961:</a> <code style="font-family:monospace,monospace">      LOGP(DLBSSGP, LOGL_DEBUG, "%s %s relaying RIM-PDU: src=%s, dest=%s\n", log_pfx, pdut_name,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"relaying RIM-PDU to SGSN(%05u/%s) "..., sgsn->nse->nsei, sgsn->name</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804/1/src/gb_proxy.c@1236">Patch Set #1, Line 1236:</a> <code style="font-family:monospace,monospace">target GERAN</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"target non-GERAN cells"</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804/1/src/gb_proxy.c@1243">Patch Set #1, Line 1243:</a> <code style="font-family:monospace,monospace"> /* TODO: Reply with STATUS if BSSGP didn't negotiate RIM feature, see also comments in</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">When this is implemented it should be done as first step. So move this comment to the beginning of or even before the call to this function.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804/1/src/gb_proxy.c@1256">Patch Set #1, Line 1256:</a> <code style="font-family:monospace,monospace">       LOGP(DLBSSGP, LOGL_DEBUG, "%s %s relaying RIM-PDU: src=%s, dest=%s\n", log_pfx, pdut_name,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"relaying RIM-PDU from SGSN(%05u/%s) " ...</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/22804">change 22804</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-gbproxy/+/22804"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gbproxy </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Idd1ea46832e044f0ade15af32250f90517d848d8 </div>
<div style="display:none"> Gerrit-Change-Number: 22804 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 09 Feb 2021 22:44:39 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>