path: root/src
diff options
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-15 17:09:17 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-05-15 17:09:19 +0200
commit7839556ca950f02e2dda48f8e10dd68e90266926 (patch)
tree9e2a3e4390c30089f80f45ec5c0a00ce8b0afeb3 /src
parent7b7562a713e6059a960f2e0b23a41f8c0028dd53 (diff)
osmux: change log lvl of batch full 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: I3d8227f2281f6ca92fd2502d3e328765dc7ecfe9
Diffstat (limited to 'src')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmux.c b/src/osmux.c
index 46170ba..7a6ce60 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -356,7 +356,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) {
@@ -366,7 +366,7 @@ static int osmux_batch_enqueue(struct msgb *msg, struct osmux_circuit *circuit,
if (rtph == NULL)
return -1;
- LOGP(DLMUX, LOGL_ERROR, "too many messages for this RTP "
+ LOGP(DLMUX, LOGL_DEBUG, "Batch is full for RTP "
"ssrc=%u\n", rtph->ssrc);
return -1;