Change in osmo-mgw[master]: osmux: Avoid processing further frames if conn not found

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Oct 16 20:45:17 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11383 )

Change subject: osmux: Avoid processing further frames if conn not found
......................................................................

osmux: Avoid processing further frames if conn not found

Other frames can come from known connections, so let's keep processing
each of them.

Change-Id: I09190140ba917dfada4b0952230b68e0f5f6d43d
---
M src/libosmo-mgcp/mgcp_osmux.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/libosmo-mgcp/mgcp_osmux.c b/src/libosmo-mgcp/mgcp_osmux.c
index ca446ff..a2c138d 100644
--- a/src/libosmo-mgcp/mgcp_osmux.c
+++ b/src/libosmo-mgcp/mgcp_osmux.c
@@ -394,7 +394,7 @@
 		/* FIXME: Get rid of CONN_ID_XXX! */
 		conn_bts = mgcp_conn_get_rtp(endp, CONN_ID_BTS);
 		if (!conn_bts)
-			goto out;
+			continue;
 
 		if (!endp) {
 			LOGP(DLMGCP, LOGL_ERROR,
@@ -478,7 +478,7 @@
 		/* FIXME: Get rid of CONN_ID_XXX! */
 		conn_net = mgcp_conn_get_rtp(endp, CONN_ID_NET);
 		if (!conn_net)
-			goto out;
+			continue;
 
 		if (!endp) {
 			LOGP(DLMGCP, LOGL_ERROR,

-- 
To view, visit https://gerrit.osmocom.org/11383
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I09190140ba917dfada4b0952230b68e0f5f6d43d
Gerrit-Change-Number: 11383
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181016/9cc15fde/attachment.htm>


More information about the gerrit-log mailing list