aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2010-07-07 17:52:13 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2010-07-07 17:52:13 +0000
commita602ad907648df8f565f7a40990524141c603052 (patch)
treeec629ee51470df4bbec50a00c1d0c0ac8d98e881
parentf60b3c828be66b72d5b74efb6005424fd26c1cb1 (diff)
downloadsrc-a602ad907648df8f565f7a40990524141c603052.tar.gz
src-a602ad907648df8f565f7a40990524141c603052.zip
MFC r207303 (originally by kmacy):
need to initialize the lock before it is used Reported on: stable@ (MFC missing) Approved by: re (kensmith)
Notes
Notes: svn path=/releng/8.1/; revision=209773
-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 39b6b40a996d..0e4beb4a07fd 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);