<p>daniel has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/23295">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Update the max_sdu_len from NS<br><br>Related: OS#4889<br>Change-Id: Ie26550198db0cc34ca0a882c137c8685a5662f2a<br>---<br>M src/gb_proxy.c<br>1 file changed, 6 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-gbproxy refs/changes/95/23295/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gb_proxy.c b/src/gb_proxy.c</span><br><span>index 78e1e1d..a42055c 100644</span><br><span>--- a/src/gb_proxy.c</span><br><span>+++ b/src/gb_proxy.c</span><br><span>@@ -1540,10 +1540,15 @@</span><br><span>             LOGP(DGPRS, LOGL_NOTICE, "NS-NSE %d became available\n", nsp->nsei);</span><br><span>            sgsn_nse = gbproxy_nse_by_nsei(cfg, nsp->nsei, NSE_F_SGSN);</span><br><span>               if (sgsn_nse) {</span><br><span style="color: hsl(120, 100%, 40%);">+                       // Update the NSE max SDU len</span><br><span style="color: hsl(120, 100%, 40%);">+                 sgsn_nse->max_sdu_len = nsp->u.status.mtu;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>                   uint8_t cause = BSSGP_CAUSE_OML_INTERV;</span><br><span>                      bvc = gbproxy_bvc_by_bvci(sgsn_nse, 0);</span><br><span style="color: hsl(0, 100%, 40%);">-                 if (bvc)</span><br><span style="color: hsl(120, 100%, 40%);">+                      if (bvc) {</span><br><span style="color: hsl(120, 100%, 40%);">+                            bssgp_bvc_fsm_set_max_pdu_len(bvc->fi, sgsn_nse->max_sdu_len);</span><br><span>                                 osmo_fsm_inst_dispatch(bvc->fi, BSSGP_BVCFSM_E_REQ_RESET, &cause);</span><br><span style="color: hsl(120, 100%, 40%);">+                     }</span><br><span>            }</span><br><span>            break;</span><br><span>       case GPRS_NS2_AFF_CAUSE_FAILURE:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/23295">change 23295</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/+/23295"/><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: Ie26550198db0cc34ca0a882c137c8685a5662f2a </div>
<div style="display:none"> Gerrit-Change-Number: 23295 </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>