Harald Welte has submitted this change and it was merged. (
https://gerrit.osmocom.org/12174 )
Change subject: gsm_04_08: Free GSM subscr conn if paging response can't be
matched
......................................................................
gsm_04_08: Free GSM subscr conn if paging response can't be matched
The current idea of calling gscon_release_lchans is not enough because
the conn is still present.
Insetad pretend we got a disconnect indication from the MSC which will
call gscon_release_lchans as well as terminate the conn state machine
which will clean up conn state as well.
Related: OS#3680
Change-Id: Iccf5f6864ffe238189907c4bb3ea333948621b4c
---
M src/osmo-bsc/gsm_04_08_rr.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/osmo-bsc/gsm_04_08_rr.c b/src/osmo-bsc/gsm_04_08_rr.c
index 4be5198..f1061ef 100644
--- a/src/osmo-bsc/gsm_04_08_rr.c
+++ b/src/osmo-bsc/gsm_04_08_rr.c
@@ -951,7 +951,7 @@
/* fwd via bsc_api to send COMPLETE L3 INFO to MSC */
rc = bsc_compl_l3(lchan->conn, msg, 0);
if (rc < 0) {
- gscon_release_lchans(lchan->conn, true);
+ osmo_fsm_inst_dispatch(lchan->conn->fi,
GSCON_EV_A_DISC_IND, NULL);
return rc;
}
/* conn shall release lchan on teardown, also if this Layer 3
Complete is rejected. */
--
To view, visit https://gerrit.osmocom.org/12174
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iccf5f6864ffe238189907c4bb3ea333948621b4c
Gerrit-Change-Number: 12174
Gerrit-PatchSet: 3
Gerrit-Owner: daniel <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>