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;