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:
parent
39250c18b8
commit
3b7d076fe7
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user