osmo-bsc/src/osmo-bsc
Philipp Maier bf4e29a7df GSCON: avoid sending connection oriented data when not connected
When no connection is present and had never existed, then
conn->sccp.msc is unpopulated. However, there may be situations where
osmo_bsc_sigtran_send() is executed while no connection is present.

At the moment we assert on conn->sccp.msc, which would cause osmo-bsc
to exit. In order to avoid this, better check conn->sccp.msc and drop
the sccp message when the check is negative.

- Remove assertion, add check.

Change-Id: I4eaa983702224e5995a388ea9890ee04212eb569
Related: OS#3446
2018-08-07 12:09:01 +02:00
..
Makefile.am cosmetic: rename osmo_bsc_api.c to gsm_08_08.c 2018-07-28 12:18:23 +02:00
a_reset.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_bs11.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_nm.c various logging: fix missing/extra newlines 2018-07-23 01:29:23 +02:00
abis_nm_ipaccess.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_nm_vty.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_om2000.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
abis_om2000_vty.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_rsl.c cosmetic: rename bsc_api.h to gsm_08_08.h 2018-07-28 12:18:23 +02:00
acc_ramp.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
arfcn_range_encode.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
assignment_fsm.c cosmetic: rename bsc_api.h to gsm_08_08.h 2018-07-28 12:18:23 +02:00
bsc_ctrl_commands.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bsc_ctrl_lookup.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bsc_init.c rename gsm_04_08_utils.[hc] to gsm_04_08_rr 2018-07-28 12:18:23 +02:00
bsc_rf_ctrl.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bsc_rll.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bsc_subscr_conn_fsm.c gscon: use BSS-common payload types on BSS side 2018-08-01 11:27:17 +02:00
bsc_subscriber.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
bsc_vty.c vty: 'handover any': pick more random chans, use lchan_select_by_type() 2018-07-28 12:18:23 +02:00
bts_ericsson_rbs2000.c fix nanobts: timeslot FSM: use flags to remember OML,RSL status 2018-07-28 12:18:23 +02:00
bts_init.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bts_ipaccess_nanobts.c fix nanobts: timeslot FSM: use flags to remember OML,RSL status 2018-07-28 12:18:23 +02:00
bts_ipaccess_nanobts_omlattr.c add gsm_timers, for Tnnn definitions usable by FSMs 2018-07-28 12:18:23 +02:00
bts_nokia_site.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
bts_siemens_bs11.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
bts_sysmobts.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bts_unknown.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
chan_alloc.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
codec_pref.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
e1_config.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
gsm_04_08_rr.c cosmetic: rename bsc_api.h to gsm_08_08.h 2018-07-28 12:18:23 +02:00
gsm_04_80_utils.c fix / clarify rsl dtap cache 2018-07-28 12:18:23 +02:00
gsm_08_08.c cosmetic: rename osmo_bsc_api.c to gsm_08_08.c 2018-07-28 12:18:23 +02:00
gsm_data.c cosmetic: constify gsm_bts_num() net arg 2018-07-28 12:18:23 +02:00
gsm_timers.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
gsm_timers_vty.c add gsm_timers, for Tnnn definitions usable by FSMs 2018-07-28 12:18:23 +02:00
handover_cfg.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
handover_decision.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
handover_decision_2.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
handover_fsm.c handover_fsm.c: Fix -Werror=format-security errors 2018-08-01 18:35:34 +02:00
handover_logic.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
handover_vty.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
lchan_fsm.c create separate logging categories for lchan,ts,as FSMs 2018-07-28 12:18:23 +02:00
lchan_rtp_fsm.c gscon: use BSS-common payload types on BSS side 2018-08-01 11:27:17 +02:00
lchan_select.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
meas_feed.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
meas_rep.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
mgw_endpoint_fsm.c gscon: use BSS-common payload types on BSS side 2018-08-01 11:27:17 +02:00
neighbor_ident.c inter-BSC HO: neighbor_ident API: drop 9bit BSIC 2018-07-28 12:18:23 +02:00
neighbor_ident_vty.c inter-BSC HO: neighbor_ident API: drop 9bit BSIC 2018-07-28 12:18:23 +02:00
net_init.c add gsm_timers, for Tnnn definitions usable by FSMs 2018-07-28 12:18:23 +02:00
osmo_bsc_bssap.c cosmetic: dissolve bsc_api.c 2018-07-28 12:18:23 +02:00
osmo_bsc_ctrl.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
osmo_bsc_filter.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
osmo_bsc_grace.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
osmo_bsc_lcls.c gscon: use BSS-common payload types on BSS side 2018-08-01 11:27:17 +02:00
osmo_bsc_main.c create separate logging categories for lchan,ts,as FSMs 2018-07-28 12:18:23 +02:00
osmo_bsc_msc.c Remove 'struct bsc_msc_connection' + fix IPA-encapsulated CTRL 2018-05-27 20:17:02 +02:00
osmo_bsc_sigtran.c GSCON: avoid sending connection oriented data when not connected 2018-08-07 12:09:01 +02:00
osmo_bsc_vty.c bsc_vty: Write access list entries when storing bsc config 2018-06-28 12:50:45 +02:00
paging.c cosmetic: rename bsc_api.h to gsm_08_08.h 2018-07-28 12:18:23 +02:00
pcu_sock.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
penalty_timers.c cosmetic: penalty timers: constify, tweak doc 2018-06-08 16:16:42 +00:00
rest_octets.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
system_information.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
timeslot_fsm.c create separate logging categories for lchan,ts,as FSMs 2018-07-28 12:18:23 +02:00