Change in osmo-msc[master]: rtp_stream: sanely cancel MGW endpoint FSM notify

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/.

neels gerrit-no-reply at lists.osmocom.org
Wed Oct 23 01:50:21 UTC 2019


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/15851 )


Change subject: rtp_stream: sanely cancel MGW endpoint FSM notify
......................................................................

rtp_stream: sanely cancel MGW endpoint FSM notify

libosmo-mgcp-client recently introduced osmo_mgcpc_ep_cancel_notify() to cancel
notification if a notify target FSM deallocates. Use it for sanity in
rtp_stream FSM cleanup, the notify target for endpoint FSMs.

Depends: I41687d7f3a808587ab7f7520f46dcc3c29cff92d (osmo-mgw)
Change-Id: I351bb8e8fbc46eb629bcd599f6453e2c84c15015
---
M src/libmsc/rtp_stream.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/51/15851/1

diff --git a/src/libmsc/rtp_stream.c b/src/libmsc/rtp_stream.c
index c3880bf..d78743e 100644
--- a/src/libmsc/rtp_stream.c
+++ b/src/libmsc/rtp_stream.c
@@ -220,6 +220,7 @@
 {
 	struct rtp_stream *rtps = fi->priv;
 	if (rtps->ci) {
+		osmo_mgcpc_ep_cancel_notify(osmo_mgcpc_ep_ci_ep(rtps->ci), fi);
 		osmo_mgcpc_ep_ci_dlcx(rtps->ci);
 		rtps->ci = NULL;
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/15851
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I351bb8e8fbc46eb629bcd599f6453e2c84c15015
Gerrit-Change-Number: 15851
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191023/ca71ca54/attachment.htm>


More information about the gerrit-log mailing list