Use IFQ_SET_MAXLEN() to set the maximum queue depth of the routing

socket netisr queue.

Pointed out by:	winter
This commit is contained in:
rwatson 2004-08-13 22:23:21 +00:00
parent c2e804d77e
commit 927adfff57

View File

@ -101,7 +101,7 @@ static void
rts_init(void)
{
rtsintrq.ifq_maxlen = IFQ_MAXLEN;
IFQ_SET_MAXLEN(&rtsintrq, IFQ_MAXLEN);
mtx_init(&rtsintrq.ifq_mtx, "rts_inq", NULL, MTX_DEF);
netisr_register(NETISR_ROUTE, rts_input, &rtsintrq, NETISR_MPSAFE);
}