This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
daniel gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/6504
libmsc: Bump conn FSM on trans_free()
Bumping the conn ensures that the subscriber connection will be closed
if necessary.
Change-Id: I131313aa326dd01b3e81e1ade18a4afd32385c15
---
M src/libmsc/transaction.c
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/04/6504/1
diff --git a/src/libmsc/transaction.c b/src/libmsc/transaction.c
index f500326..699ca27 100644
--- a/src/libmsc/transaction.c
+++ b/src/libmsc/transaction.c
@@ -141,8 +141,11 @@
llist_del(&trans->entry);
- if (trans->conn)
+ if (trans->conn) {
msc_subscr_conn_put(trans->conn, conn_usage_token);
+ if (trans->conn->conn_fsm)
+ osmo_fsm_inst_dispatch(trans->conn->conn_fsm, SUBSCR_CONN_E_BUMP, NULL);
+ }
trans->conn = NULL;
talloc_free(trans);
--
To view, visit https://gerrit.osmocom.org/6504
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I131313aa326dd01b3e81e1ade18a4afd32385c15
Gerrit-PatchSet: 1
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: daniel <dwillmann at sysmocom.de>