aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-08-14 14:44:28 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-08-14 17:53:28 +0200
commitcd7503ab81e6bcaacab15d4509a865ee30a33255 (patch)
treeafb4b10f3ecc06f5802b76e97963c867e35ed687
parent4f750265fa6f466ba08dfdbed959a405d55572bd (diff)
osmux: Change log level of message to debug
This message is expected as all code filling batches call osmux_batch_enqueue() and checks for error to know if it must tell the user of the lib to call osmux_xfrm_input_deliver. Change-Id: Icbd0fdeef0adb0b44255805ddbc6e41903f48b04
-rw-r--r--src/osmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmux.c b/src/osmux.c
index c3b359b..d604be9 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -220,7 +220,7 @@ struct osmux_circuit {
static int osmux_batch_enqueue(struct msgb *msg, struct osmux_circuit *circuit,
uint8_t batch_factor)
{
- /* Too many messages per batch, discard it. The counter field of the
+ /* Validate amount of messages per batch. The counter field of the
* osmux header is just 3 bits long, so make sure it doesn't overflow.
*/
if (circuit->nmsgs >= batch_factor || circuit->nmsgs >= 8) {
@@ -230,7 +230,7 @@ static int osmux_batch_enqueue(struct msgb *msg, struct osmux_circuit *circuit,
if (rtph == NULL)
return -1;
- LOGP(DLMIB, LOGL_ERROR, "too many messages for this RTP "
+ LOGP(DLMIB, LOGL_DEBUG, "Batch is full for RTP "
"ssrc=%u\n", rtph->ssrc);
return -1;
}