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
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;