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
c2e804d77e
commit
927adfff57
@ -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…
Reference in New Issue
Block a user