<p>daniel has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-sgsn/+/21038">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gbproxy: Add todo for BVC RESET logic<br><br>When we receive a signalling BVC RESET from the SGSN we want to reset<br>the signalling BVCs for every peer.<br><br>Change-Id: I98c1a53d0e4b9a988e9ddec97ce0c67ded6f6326<br>Related: SYS#4998<br>---<br>M src/gbproxy/gb_proxy.c<br>1 file changed, 10 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/38/21038/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gbproxy/gb_proxy.c b/src/gbproxy/gb_proxy.c</span><br><span>index 2ce7464..e8a81e7 100644</span><br><span>--- a/src/gbproxy/gb_proxy.c</span><br><span>+++ b/src/gbproxy/gb_proxy.c</span><br><span>@@ -1218,7 +1218,16 @@</span><br><span> case BSSGP_PDUT_BVC_RESET_ACK:</span><br><span> if (cfg->route_to_sgsn2 && nsei == cfg->nsip_sgsn2_nsei)</span><br><span> break;</span><br><span style="color: hsl(0, 100%, 40%);">- /* fall through */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* simple case: BVCI IE is mandatory */</span><br><span style="color: hsl(120, 100%, 40%);">+ if (!TLVP_PRESENT(&tp, BSSGP_IE_BVCI))</span><br><span style="color: hsl(120, 100%, 40%);">+ goto err_mand_ie;</span><br><span style="color: hsl(120, 100%, 40%);">+ bvci = ntohs(tlvp_val16_unal(&tp, BSSGP_IE_BVCI));</span><br><span style="color: hsl(120, 100%, 40%);">+ if (bvci == BVCI_SIGNALLING) {</span><br><span style="color: hsl(120, 100%, 40%);">+ /* TODO: Reset all PTP BVCIs */</span><br><span style="color: hsl(120, 100%, 40%);">+ } else {</span><br><span style="color: hsl(120, 100%, 40%);">+ rc = gbprox_relay2bvci(cfg, msg, bvci, ns_bvci);</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span style="color: hsl(120, 100%, 40%);">+ break;</span><br><span> case BSSGP_PDUT_FLUSH_LL:</span><br><span> /* simple case: BVCI IE is mandatory */</span><br><span> if (!TLVP_PRESENT(&tp, BSSGP_IE_BVCI))</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-sgsn/+/21038">change 21038</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-sgsn/+/21038"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: osmo-sgsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I98c1a53d0e4b9a988e9ddec97ce0c67ded6f6326 </div>
<div style="display:none"> Gerrit-Change-Number: 21038 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>