summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2010-04-27 23:48:50 +0000
committerkmacy <kmacy@FreeBSD.org>2010-04-27 23:48:50 +0000
commite04522d3423e9357b3154adcc6c92bdfdb143798 (patch)
treeb71033ccf6dc2b7352b8ec9a8e0a8481d0f91cf0 /sys/net
parent97002d72b5e073618d8b4d7c2e2a8b20f2cd3392 (diff)
downloadFreeBSD-src-e04522d3423e9357b3154adcc6c92bdfdb143798.zip
FreeBSD-src-e04522d3423e9357b3154adcc6c92bdfdb143798.tar.gz
need to initialize the lock before it is used
MFC after: 3 days
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/flowtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/flowtable.c b/sys/net/flowtable.c
index 39b6b40..0e4beb4 100644
--- a/sys/net/flowtable.c
+++ b/sys/net/flowtable.c
@@ -1626,7 +1626,7 @@ flowtable_init(const void *unused __unused)
EVENTHANDLER_PRI_ANY);
flowclean_freq = 20*hz;
}
-SYSINIT(flowtable_init, SI_SUB_SMP, SI_ORDER_MIDDLE,
+SYSINIT(flowtable_init, SI_SUB_KTHREAD_INIT, SI_ORDER_FIRST,
flowtable_init, NULL);
OpenPOWER on IntegriCloud