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
This commit is contained in:
Pau Espin 2018-05-15 17:09:17 +02:00
parent 7b7562a713
commit 7839556ca9
1 changed files with 2 additions and 2 deletions

View File

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