pespin has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/28881 )
Change subject: ttcn3-cbc: Disable gsmtap_log debug for dasn1c category
......................................................................
ttcn3-cbc: Disable gsmtap_log debug for dasn1c category
This category prints incredibly large output of ASN1c encoder/decoder,
which clogs the logging subsystem while debugging general issues.
Since the encoder/decoder is somehow determenistic, let's disable
logging all the debugging; it can be enabled by the user when
specifically debugging any enc/dec related issue.
Change-Id: I53cc2fe717fa70a8f187788fc4d31d28e0d4e98a
---
M ttcn3-cbc-test/osmo-cbc.cfg
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/ttcn3-cbc-test/osmo-cbc.cfg b/ttcn3-cbc-test/osmo-cbc.cfg
index 9d7f4a1..c97c893 100644
--- a/ttcn3-cbc-test/osmo-cbc.cfg
+++ b/ttcn3-cbc-test/osmo-cbc.cfg
@@ -1,6 +1,7 @@
!
log gsmtap 172.18.27.100
logging level set-all debug
+ logging level asn1c info
logging filter all 1
!
log stderr
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/28881
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I53cc2fe717fa70a8f187788fc4d31d28e0d4e98a
Gerrit-Change-Number: 28881
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
pespin has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/28858 )
Change subject: ttcn3-cbc: Adapt ports in osmo-cbc.git to default ttcn3 ones
......................................................................
ttcn3-cbc: Adapt ports in osmo-cbc.git to default ttcn3 ones
This is intended to ease adding new emulated MMEs and BSCs by using next
available port strting from the one defined in the TTCN3 test module
parameter.
Requires: osmo-ttcn3-hacks.git Ib443aba9396aebe0a56b1a79719bbcf66302a1aa
Change-Id: Ib1387284c8f361572057b6d036429366238382a6
---
M ttcn3-cbc-test/osmo-cbc.cfg
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
laforge: Looks good to me, approved
diff --git a/ttcn3-cbc-test/osmo-cbc.cfg b/ttcn3-cbc-test/osmo-cbc.cfg
index c2c1b7b..9d7f4a1 100644
--- a/ttcn3-cbc-test/osmo-cbc.cfg
+++ b/ttcn3-cbc-test/osmo-cbc.cfg
@@ -33,9 +33,9 @@
local-port 29168
peer cbsp ttcn3-bsc
mode server
- remote-port 9999
+ remote-port 15000
remote-ip 172.18.27.100
peer sbcap ttcn3-mme
mode server
- remote-port 9998
+ remote-port 16000
remote-ip 172.18.27.100
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/28858
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Ib1387284c8f361572057b6d036429366238382a6
Gerrit-Change-Number: 28858
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28884 )
Change subject: bsc_subscr_conn_fsm: fix use after free
......................................................................
bsc_subscr_conn_fsm: fix use after free
In cases where the MGCP client endpoint FSM is terminating early the bsc
sbscr conn FSM receives the signal GSCON_EV_FORGET_MGW_ENDPOINT, which
then calls gscon_forget_mgw_endpoint(). However, this only nulls the
conn->user_plane->mgw_endpoint_ci_msc struct pointer, not the others.
This causes the assignment FSM to access
conn->assignment.created_ci_for_msc whle trying to initiate a DLCX. We
must make sure that when the MGCP client endpoint FSM dies, that all
other CI pointers that reference the same CI are also set to NULL.
Change-Id: Ia857e3af6c17282b7e8178b6d249eb0f99ed98e3
Related: OS#5572
---
M src/osmo-bsc/bsc_subscr_conn_fsm.c
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c
index 9af28c7..7c0c7c3 100644
--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c
+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c
@@ -940,6 +940,10 @@
mgcp_client = osmo_mgcpc_ep_client(conn->user_plane.mgw_endpoint);
mgcp_client_pool_put(mgcp_client);
+ /* Be sure that the endpoint CI we are maintaining in user_plane
+ * is also removed from the other locations as well. */
+ gscon_forget_mgw_endpoint_ci(conn, conn->user_plane.mgw_endpoint_ci_msc);
+
conn->user_plane.mgw_endpoint = NULL;
conn->user_plane.mgw_endpoint_ci_msc = NULL;
conn->ho.created_ci_for_msc = NULL;
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28884
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ia857e3af6c17282b7e8178b6d249eb0f99ed98e3
Gerrit-Change-Number: 28884
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged