osmo-msc/include/osmocom/msc
Neels Hofmeyr d6a769b51c trans_free: tear down conn when last transaction is done
In trans_free(), call subscr_conn_release_when_unused(), so that we are sure to
clean up after the last transaction is done.

This fixes an error where a conn lingered after a CC failure, because that code
path forgot to trigger cleanup.

Rationale: so far we were triggering the release check after each DTAP dispatch
(compl_l3 and "normal" DTAP), which is sufficient for properly closed
transactions. We also need a check for when a timeout clears an erratic trans.

Adjust test expectation of test_call_mo_to_unknown_timeout to show that the
error is now fixed.

msc_vlr_test_reject_concurrency now sees an additional release checking event
when the SMS transaction is done, which is expected and does not affect the
test otherwise.

Related: OS#2779
Change-Id: I46ff2e9b09b67e4e0d79cccf8c04936f17281fcb
2018-03-22 04:35:28 +00:00
..
Makefile.am remove bsc_api.h and all users - they're all dead code 2018-02-14 00:28:02 +01:00
a_iface.h Introduce new BSSAP logging category/subsystem 2018-02-09 02:22:22 +01:00
a_iface_bssap.h Don't answer to BSC-originated RESET with another RESET 2018-02-09 02:20:51 +01:00
a_reset.h a_reset: Add additional "a_reset_alloc" argument 2018-02-09 02:20:51 +01:00
common.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
common_cs.h cosmetic: gsm_network_init(): imply default 001-01 PLMN 2018-02-27 13:01:42 +01:00
db.h Delete expired SMS automatically. 2018-01-25 20:30:40 +00:00
debug.h Introduce new BSSAP logging category/subsystem 2018-02-09 02:22:22 +01:00
gsm_04_08.h dead code removal 2018-02-14 00:28:07 +01:00
gsm_04_11.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
gsm_04_14.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
gsm_04_80.h msc/gsm_04_80.h: use '#pragma once' instead of includes 2018-01-10 22:17:37 +06:00
gsm_data.h implement support for 3-digit MNC with leading zeros 2018-02-28 19:30:14 +01:00
gsm_data_shared.h remove dead code (gsm_parse_reg) 2018-02-14 09:04:56 +01:00
gsm_subscriber.h Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
gsup_client.h Change GSUP re-connect interval to 1s 2018-01-28 00:14:25 +00:00
iu_dummy.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
iucs.h iucs: Add a function to return the connection ID for the IU SCCP conn 2018-02-16 08:09:32 +00:00
iucs_ranap.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
mncc.h MNCC: Add input validation 2018-01-23 17:03:05 +00:00
mncc_int.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
msc_ifaces.h mgcp: use osmo-mgw to switch rtp streams 2018-02-05 22:28:43 +00:00
msc_mgcp.h mcgp: let the MGW allocate the MGCP endpoint 2018-03-14 21:08:30 +00:00
oap_client.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
openbscdefines.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
osmo_msc.h trans_free: tear down conn when last transaction is done 2018-03-22 04:35:28 +00:00
rrlp.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
signal.h signal.h: Remove unused/dead signal definitions 2018-01-25 00:38:08 +01:00
silent_call.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
smpp.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
sms_queue.h Add a VTY command which deletes all expired SMS. 2018-01-25 16:16:15 +00:00
transaction.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
ussd.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
vlr.h restore sending of optional MM info messages 2018-03-13 21:13:27 +01:00
vty.h Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00