Change in ...osmo-iuh[master]: RFC: iu_client: close sccp connection after release_complete

lynxis lazus gerrit-no-reply at lists.osmocom.org
Mon Aug 12 15:17:30 UTC 2019


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/15161


Change subject: RFC: iu_client: close sccp connection after release_complete
......................................................................

RFC: iu_client: close sccp connection after release_complete

I don't know if this is a hard layer violation or not. /todo read code

Change-Id: I6812edb4da487507ccf9f483de801c1c65c4b72b
---
M src/iu_client.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/61/15161/1

diff --git a/src/iu_client.c b/src/iu_client.c
index 92d25f5..1f10333 100644
--- a/src/iu_client.c
+++ b/src/iu_client.c
@@ -526,6 +526,7 @@
 static void cn_ranap_handle_co(void *ctx, ranap_message *message)
 {
 	int rc;
+	struct ranap_ue_conn_ctx *ue = ctx;
 
 	LOGPIU(LOGL_NOTICE, "handle_co(dir=%u, proc=%u)\n", message->direction, message->procedureCode);
 
@@ -566,6 +567,7 @@
 				LOGPIU(LOGL_ERROR, "Iu Release event: Iu Event callback returned %d\n",
 				       rc);
 			}
+			osmo_sccp_tx_disconn(g_scu, ue->conn_id, NULL, 0);
 			break;
 		default:
 			LOGPIU(LOGL_ERROR, "Received Successful Outcome: unknown Procedure Code %d\n",

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

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I6812edb4da487507ccf9f483de801c1c65c4b72b
Gerrit-Change-Number: 15161
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190812/6c6e5335/attachment.html>


More information about the gerrit-log mailing list