path: root/src/osmo-bsc/bsc_subscr_conn_fsm.c
diff options
authorPhilipp Maier <pmaier@sysmocom.de>2018-08-06 16:34:32 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2018-08-07 12:09:01 +0200
commitbf4e29a7dff6e3b5ce9e4da150b8b1dfce86be83 (patch)
tree551fed105b70e984ad813f4ecdb404544d8a012b /src/osmo-bsc/bsc_subscr_conn_fsm.c
parentc1a0f7a1f5db1177679c26554c19e72a943d9510 (diff)
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
Diffstat (limited to 'src/osmo-bsc/bsc_subscr_conn_fsm.c')
0 files changed, 0 insertions, 0 deletions