Change in osmo-sgsn[master]: gbproxy: Copy RA-ID from BSS side BVC to CELL and SGSN-side BVC

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.org
Sat Dec 12 14:36:37 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/21688 )

Change subject: gbproxy: Copy RA-ID from BSS side BVC to CELL and SGSN-side BVC
......................................................................

gbproxy: Copy RA-ID from BSS side BVC to CELL and SGSN-side BVC

Change-Id: I18669f269c4a959fcfa51885aafb719b662a7f8a
Related: OS#4894
---
M src/gbproxy/gb_proxy.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/gbproxy/gb_proxy.c b/src/gbproxy/gb_proxy.c
index ed4dbeb..0dd45d4 100644
--- a/src/gbproxy/gb_proxy.c
+++ b/src/gbproxy/gb_proxy.c
@@ -509,6 +509,7 @@
 
 		bvc->cell = gbproxy_cell_alloc(cfg, bvci);
 		OSMO_ASSERT(bvc->cell);
+		memcpy(bvc->cell->ra, bvc->ra, sizeof(bvc->cell->ra));
 
 		/* link us to the cell and vice-versa */
 		bvc->cell->bss_bvc = bvc;
@@ -524,6 +525,7 @@
 				OSMO_ASSERT(sgsn_bvc);
 
 				sgsn_bvc->cell = bvc->cell;
+				memcpy(sgsn_bvc->ra, bvc->cell->ra, sizeof(sgsn_bvc->ra));
 				sgsn_bvc->fi = bssgp_bvc_fsm_alloc_ptp_bss(sgsn_bvc, cfg->nsi, sgsn_nse->nsei,
 									   bvci, ra_id, cell_id);
 				OSMO_ASSERT(sgsn_bvc->fi);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/21688
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I18669f269c4a959fcfa51885aafb719b662a7f8a
Gerrit-Change-Number: 21688
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201212/bbabfb0b/attachment.htm>


More information about the gerrit-log mailing list