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 <osm...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilira...@gmail.com>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-CC: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to