remove traces of bsc_subscriber

Change-Id: I8672f0a76cb47595444a7ddbc4f34fc4ddaeb375
This commit is contained in:
Harald Welte 2018-01-24 15:17:06 +01:00
parent 4ab0a490ae
commit a3ab1de7dc
14 changed files with 72 additions and 91 deletions

View File

@ -26,7 +26,6 @@
struct mncc_sock_state;
struct gsm_subscriber_group;
struct bsc_subscr;
struct vlr_instance;
struct vlr_subscr;
struct ranap_ue_conn_ctx;
@ -145,9 +144,6 @@ struct gsm_subscriber_connection {
* keep it open for an actual request (or until timeout). */
bool received_cm_service_request;
/* libbsc subscriber information (if available) */
struct bsc_subscr *bsub;
/* libmsc/libvlr subscriber information (if available) */
struct vlr_subscr *vsub;
@ -445,14 +441,6 @@ struct gsm_network {
* OsmoMSC, this should be tied to the location area code (LAC). */
struct gsm_tz tz;
/* List of all struct bsc_subscr used in libbsc. This llist_head is
* allocated so that the llist_head pointer itself can serve as a
* talloc context (useful to not have to pass the entire gsm_network
* struct to the bsc_subscr_* API, and for bsc_susbscr unit tests to
* not require gsm_data.h). In an MSC-without-BSC environment, this
* pointer is NULL to indicate absence of a bsc_subscribers list. */
struct llist_head *bsc_subscribers;
/* MSC: GSUP server address of the HLR */
const char *gsup_server_addr_str;
uint16_t gsup_server_port;
@ -557,9 +545,6 @@ const char *bts_gprs_mode_name(enum bts_gprs_mode mode);
int gsm48_ra_id_by_bts(uint8_t *buf, struct gsm_bts *bts);
void gprs_ra_id_by_bts(struct gprs_ra_id *raid, struct gsm_bts *bts);
struct gsm_subscriber_connection *bsc_subscr_con_allocate(struct gsm_lchan *lchan);
void bsc_subscr_con_free(struct gsm_subscriber_connection *conn);
struct gsm_subscriber_connection *msc_subscr_con_allocate(struct gsm_network *network);
void msc_subscr_con_free(struct gsm_subscriber_connection *conn);

View File

@ -66,9 +66,6 @@ struct gsm_network *gsm_network_init(void *ctx,
INIT_LLIST_HEAD(&net->upqueue);
INIT_LLIST_HEAD(&net->subscr_conns);
net->bsc_subscribers = talloc_zero(net, struct llist_head);
INIT_LLIST_HEAD(net->bsc_subscribers);
/* init statistics */
net->msc_ctrs = rate_ctr_group_alloc(net, &msc_ctrg_desc, 0);
if (!net->msc_ctrs) {

View File

@ -424,7 +424,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_auth_use_twice_geran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_auth_use_twice_utran
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -878,7 +878,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_auth_use_twice_utran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_auth_use_infinitely_geran
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1399,7 +1399,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_auth_use_infinitely_geran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_auth_use_infinitely_utran
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1954,7 +1954,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_auth_use_infinitely_utran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_no_auth_reuse_geran
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -2275,7 +2275,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_auth_reuse_geran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_no_auth_reuse_utran
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -2614,8 +2614,8 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_auth_reuse_utran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -345,7 +345,7 @@ DREF freeing VLR subscr MSISDN:42342
===== test_call_mo: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_call_mt
- Total time passed: 0.000000 s
@ -699,8 +699,8 @@ DREF freeing VLR subscr MSISDN:42342
===== test_call_mt: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -444,7 +444,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_gsm_authen: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_gsm_authen_tmsi
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1096,7 +1096,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_gsm_authen_tmsi: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_gsm_authen_imei
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1316,7 +1316,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_gsm_authen_imei: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_gsm_authen_tmsi_imei
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1567,7 +1567,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_gsm_authen_tmsi_imei: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_gsm_milenage_authen
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1996,8 +1996,8 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_gsm_milenage_authen: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -481,7 +481,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_ciph: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_ciph_tmsi
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1003,7 +1003,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_ciph_tmsi: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_ciph_imei
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1224,7 +1224,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_ciph_imei: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_ciph_imeisv
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1434,7 +1434,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_ciph_imeisv: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_ciph_tmsi_imei
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1686,8 +1686,8 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_ciph_tmsi_imei: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -72,7 +72,7 @@ DREF freeing VLR subscr IMSI:901700000004620
===== test_hlr_rej_auth_info_unknown_imsi: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_hlr_rej_auth_info_net_fail
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -148,7 +148,7 @@ DREF freeing VLR subscr IMSI:901700000004620
===== test_hlr_rej_auth_info_net_fail: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_hlr_rej_auth_info_net_fail_reuse_tuples
---
@ -451,7 +451,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_hlr_rej_auth_info_net_fail_reuse_tuples: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_hlr_rej_auth_info_net_fail_no_reuse_tuples
---
@ -679,7 +679,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_hlr_rej_auth_info_net_fail_no_reuse_tuples: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_hlr_rej_auth_info_unkown_imsi_no_reuse_tuples
---
@ -908,7 +908,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_hlr_rej_auth_info_unkown_imsi_no_reuse_tuples: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_hlr_acc_but_no_auth_tuples
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -983,7 +983,7 @@ DREF freeing VLR subscr IMSI:901700000004620
===== test_hlr_acc_but_no_auth_tuples: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_hlr_rej_lu
- Location Update request causes a GSUP LU request to HLR
@ -1061,7 +1061,7 @@ DREF freeing VLR subscr IMSI:901700000004620
===== test_hlr_rej_lu: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_hlr_no_insert_data
- Location Update request causes a GSUP LU request to HLR
@ -1162,8 +1162,8 @@ DREF freeing VLR subscr IMSI:901700000004620
===== test_hlr_no_insert_data: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -80,7 +80,7 @@ DREF freeing VLR subscr IMSI:901700000004620
===== test_hlr_timeout_lu_auth_info: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_hlr_timeout_lu_upd_loc_result
- Total time passed: 0.000000 s
@ -183,8 +183,8 @@ DREF freeing VLR subscr MSISDN:46071
===== test_hlr_timeout_lu_upd_loc_result: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -100,7 +100,7 @@ DREF freeing VLR subscr IMSI:901700000004620
===== test_ms_timeout_lu_auth_resp: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_ms_timeout_cm_auth_resp
- Total time passed: 0.000000 s
@ -336,7 +336,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_ms_timeout_cm_auth_resp: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_ms_timeout_paging
- Total time passed: 0.000000 s
@ -519,8 +519,8 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_ms_timeout_paging: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -320,7 +320,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_authen: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_no_authen_tmsi
- Location Update request causes a GSUP LU request to HLR
@ -831,7 +831,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_authen_tmsi: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_no_authen_imei
- Location Update request causes a GSUP LU request to HLR
@ -1004,7 +1004,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_authen_imei: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_no_authen_tmsi_imei
- Location Update request causes a GSUP LU request to HLR
@ -1202,7 +1202,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_authen_tmsi_imei: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_no_authen_imeisv
- Location Update request causes an IMEISV ID request back to the MS
@ -1360,7 +1360,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_authen_imeisv: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_no_authen_imeisv_imei
- Location Update request causes an IMEISV ID request back to the MS
@ -1550,7 +1550,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_authen_imeisv_imei: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_no_authen_imeisv_tmsi
- Location Update request causes an IMEISV ID request back to the MS
@ -1906,7 +1906,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_authen_imeisv_tmsi: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_no_authen_imeisv_tmsi_imei
- Location Update request causes an IMEISV ID request back to the MS
@ -2122,8 +2122,8 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_no_authen_imeisv_tmsi_imei: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -152,7 +152,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_reject_2nd_conn: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_reject_lu_during_lu
- Location Update Request
@ -277,7 +277,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_reject_lu_during_lu: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_reject_cm_during_lu
- Location Update Request
@ -408,7 +408,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_reject_cm_during_lu: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_reject_paging_resp_during_lu
- Location Update Request
@ -534,7 +534,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_reject_paging_resp_during_lu: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_reject_lu_during_cm
---
@ -727,7 +727,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_reject_lu_during_cm: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_reject_cm_during_cm
---
@ -922,7 +922,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_reject_cm_during_cm: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_reject_paging_resp_during_cm
---
@ -1123,7 +1123,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_reject_paging_resp_during_cm: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_reject_lu_during_paging_resp
---
@ -1350,7 +1350,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_reject_lu_during_paging_resp: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_accept_cm_during_paging_resp
---
@ -1594,7 +1594,7 @@ DREF freeing VLR subscr MSISDN:46071
===== test_accept_cm_during_paging_resp: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_reject_paging_resp_during_paging_resp
---
@ -1820,8 +1820,8 @@ DREF freeing VLR subscr MSISDN:46071
===== test_reject_paging_resp_during_paging_resp: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -40,7 +40,7 @@ DMM Subscr_Conn(test){SUBSCR_CONN_S_RELEASED}: Deallocated
===== test_early_stage: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_cm_service_without_lu
- CM Service Request without a prior Location Updating
@ -83,7 +83,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_cm_service_without_lu: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_two_lu
- Location Update request causes a GSUP LU request to HLR
@ -340,7 +340,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_two_lu: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_lu_unknown_tmsi
- Location Update request with unknown TMSI sends ID Request for IMSI
@ -489,8 +489,8 @@ DREF freeing VLR subscr MSISDN:46071
===== test_lu_unknown_tmsi: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -458,7 +458,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_umts_authen_geran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_umts_authen_utran
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -946,7 +946,7 @@ DRLL Freeing subscriber connection with NULL subscriber
===== test_umts_authen_utran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_umts_authen_resync_geran
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1159,7 +1159,7 @@ DREF freeing VLR subscr MSISDN:42342
===== test_umts_authen_resync_geran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
===== test_umts_authen_resync_utran
- Location Update request causes a GSUP Send Auth Info request to HLR
@ -1382,8 +1382,8 @@ DREF freeing VLR subscr MSISDN:42342
===== test_umts_authen_resync_utran: SUCCESS
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
talloc_total_blocks(tall_bsc_ctx) == 8

View File

@ -717,14 +717,13 @@ void check_talloc(void *msgb_ctx, void *tall_bsc_ctx, int expected_blocks)
talloc_report_full(msgb_ctx, stderr);
/* Expecting these to stick around in tall_bsc_ctx:
full talloc report on 'msgb' (total 0 bytes in 1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 9
full talloc report on 'subscr_conn_test_ctx' (total 2658 bytes in 9 blocks)
talloc_total_blocks(tall_bsc_ctx) == 8
full talloc report on 'subscr_conn_test_ctx' (total 2642 bytes in 8 blocks)
struct gsup_client contains 248 bytes in 1 blocks (ref 0) 0x61300000dee0
struct gsm_network contains 2410 bytes in 6 blocks (ref 0) 0x61700000fce0
struct vlr_instance contains 160 bytes in 1 blocks (ref 0) 0x611000009a60
no_gsup_server contains 15 bytes in 1 blocks (ref 0) 0x60b00000ade0
../../../src/libosmocore/src/rate_ctr.c:199 contains 1552 bytes in 1 blocks (ref 0) 0x61b00001eae0
struct llist_head contains 16 bytes in 1 blocks (ref 0) 0x60b00000ae90
.* contains 3 bytes in 1 blocks (ref 0) 0x60b00000af40
msgb contains 0 bytes in 1 blocks (ref 0) 0x60800000bf80
*/
@ -804,7 +803,7 @@ void run_tests(int nr)
if (cmdline_opts.verbose)
fprintf(stderr, "(test nr %d)\n", test_nr + 1);
check_talloc(msgb_ctx, tall_bsc_ctx, 9);
check_talloc(msgb_ctx, tall_bsc_ctx, 8);
} while(0);
}
@ -870,6 +869,6 @@ int main(int argc, char **argv)
talloc_free(the_bts);
check_talloc(msgb_ctx, tall_bsc_ctx, 9);
check_talloc(msgb_ctx, tall_bsc_ctx, 8);
return 0;
}