Change in osmo-bsc[master]: abis_nm.c: rx_fail_evt_rep: fix sd.bts

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/.

osmith gerrit-no-reply at lists.osmocom.org
Tue Mar 24 07:20:18 UTC 2020


osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/17569 )

Change subject: abis_nm.c: rx_fail_evt_rep: fix sd.bts
......................................................................

abis_nm.c: rx_fail_evt_rep: fix sd.bts

Use the extra bts pointer instead of mb->trx->bts, which does not point
to an allocated bts.

Related: OS#1605
Change-Id: Ie61512f5690763fa380bdf0e7fb4763dbda019d2
---
M src/osmo-bsc/abis_nm.c
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c
index a874b53..2d181e8 100644
--- a/src/osmo-bsc/abis_nm.c
+++ b/src/osmo-bsc/abis_nm.c
@@ -399,7 +399,7 @@
 		rc = -EINVAL;
 	}
 
-	sd.bts = mb->trx->bts;
+	sd.bts = bts;
 	sd.msg = mb;
 	sd.tp = &tp;
 	if (e_type)

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ie61512f5690763fa380bdf0e7fb4763dbda019d2
Gerrit-Change-Number: 17569
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200324/52d7052f/attachment.htm>


More information about the gerrit-log mailing list