pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/29534 )


Change subject: osmux: Lower log level when osmux batch received for unknown CID
......................................................................

osmux: Lower log level when osmux batch received for unknown CID

This is actually quite common, since our peer may be sending some osmux
packets to us a while after we have closed the conn on our side,
specially if latency is high in the network (eg satellite links).

Related: SYS#5987
Change-Id: Idffd91b68d1f98ac906d78e7fbc0e6eaa1962f9e
---
M src/libosmo-mgcp/mgcp_osmux.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/34/29534/1

diff --git a/src/libosmo-mgcp/mgcp_osmux.c b/src/libosmo-mgcp/mgcp_osmux.c
index 8d8fcd8..c3c8427 100644
--- a/src/libosmo-mgcp/mgcp_osmux.c
+++ b/src/libosmo-mgcp/mgcp_osmux.c
@@ -285,7 +285,7 @@
                }
        }

-       LOGP(DOSMUX, LOGL_ERROR, "Cannot find osmux conn with rem_addr=%s 
local_cid=%d\n",
+       LOGP(DOSMUX, LOGL_DEBUG, "Cannot find osmux conn with rem_addr=%s 
local_cid=%d\n",
             osmo_sockaddr_to_str(rem_addr), local_cid);

        return NULL;
@@ -395,7 +395,7 @@

        conn = osmux_conn_lookup(trunk, osmux_cid, rem_addr);
        if (!conn) {
-               LOGP(DOSMUX, LOGL_ERROR,
+               LOGP(DOSMUX, LOGL_DEBUG,
                     "Cannot find conn for Osmux CID %d\n", osmux_cid);
                goto out;
        }
@@ -440,7 +440,7 @@
                conn_src = osmux_conn_lookup(trunk, osmuxh->circuit_id,
                                             &rem_addr);
                if (!conn_src) {
-                       LOGP(DOSMUX, LOGL_ERROR,
+                       LOGP(DOSMUX, LOGL_DEBUG,
                             "Cannot find a src conn for circuit_id=%d\n",
                             osmuxh->circuit_id);
                        goto out;

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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Idffd91b68d1f98ac906d78e7fbc0e6eaa1962f9e
Gerrit-Change-Number: 29534
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to