laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-bsc/+/36966?usp=email )
Change subject: ipaccess-config: fix crash when doing test procedures
......................................................................
ipaccess-config: fix crash when doing test procedures
abis_nm_perform_test expect to have a l3 pointer set in the msg
Change-Id: I69812847d802e1893a138860fb18055ffd666698
---
M src/ipaccess/network_listen.c
1 file changed, 12 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/src/ipaccess/network_listen.c b/src/ipaccess/network_listen.c
index e9f5c93..78ccd25 100644
--- a/src/ipaccess/network_listen.c
+++ b/src/ipaccess/network_listen.c
@@ -98,6 +98,7 @@
memcpy(payload, phys_conf, phys_conf_len);
}
+ msg->l3h = msg->data;
abis_nm_perform_test(trx->bts, NM_OC_RADIO_CARRIER, 0, trx->nr, 0xff,
testnr, 1, msg);
trx->ipaccess.test_nr = testnr;
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bsc/+/36966?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I69812847d802e1893a138860fb18055ffd666698
Gerrit-Change-Number: 36966
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged