summaryrefslogtreecommitdiffstats
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-08-13 22:23:21 +0000
committerrwatson <rwatson@FreeBSD.org>2004-08-13 22:23:21 +0000
commit927adfff577e854eb315945cf0fa1b0a7364c494 (patch)
treea5df125c2aee31393419644f5faaf7eb402ae500 /sys/net/rtsock.c
parentc2e804d77e2983933cc05fabd70efb8aca941968 (diff)
downloadFreeBSD-src-927adfff577e854eb315945cf0fa1b0a7364c494.zip
FreeBSD-src-927adfff577e854eb315945cf0fa1b0a7364c494.tar.gz
Use IFQ_SET_MAXLEN() to set the maximum queue depth of the routing
socket netisr queue. Pointed out by: winter
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index d6b4259..85d763b 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -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);
}
OpenPOWER on IntegriCloud