This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gbproxy/+/23295 ) Change subject: Update the max_sdu_len from NS ...................................................................... Update the max_sdu_len from NS Related: OS#4889 Change-Id: Ie26550198db0cc34ca0a882c137c8685a5662f2a --- M src/gb_proxy.c 1 file changed, 6 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/src/gb_proxy.c b/src/gb_proxy.c index 4890981..c98dbdd 100644 --- a/src/gb_proxy.c +++ b/src/gb_proxy.c @@ -1534,10 +1534,15 @@ LOGP(DGPRS, LOGL_NOTICE, "NS-NSE %d became available\n", nsp->nsei); sgsn_nse = gbproxy_nse_by_nsei(cfg, nsp->nsei, NSE_F_SGSN); if (sgsn_nse) { + // Update the NSE max SDU len + sgsn_nse->max_sdu_len = nsp->u.status.mtu; + uint8_t cause = BSSGP_CAUSE_OML_INTERV; bvc = gbproxy_bvc_by_bvci(sgsn_nse, 0); - if (bvc) + if (bvc) { + bssgp_bvc_fsm_set_max_pdu_len(bvc->fi, sgsn_nse->max_sdu_len); osmo_fsm_inst_dispatch(bvc->fi, BSSGP_BVCFSM_E_REQ_RESET, &cause); + } } break; case GPRS_NS2_AFF_CAUSE_FAILURE: -- To view, visit https://gerrit.osmocom.org/c/osmo-gbproxy/+/23295 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gbproxy Gerrit-Branch: master Gerrit-Change-Id: Ie26550198db0cc34ca0a882c137c8685a5662f2a Gerrit-Change-Number: 23295 Gerrit-PatchSet: 5 Gerrit-Owner: daniel <dwillmann at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu> Gerrit-Reviewer: osmith <osmith at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210310/406e0550/attachment.htm>