Author: kmacy
Date: Tue Apr 27 23:48:50 2010
New Revision: 207303
URL: http://svn.freebsd.org/changeset/base/207303

Log:
  need to initialize the lock before it is used
  
  MFC after:    3 days

Modified:
  head/sys/net/flowtable.c

Modified: head/sys/net/flowtable.c
==============================================================================
--- head/sys/net/flowtable.c    Tue Apr 27 23:22:12 2010        (r207302)
+++ head/sys/net/flowtable.c    Tue Apr 27 23:48:50 2010        (r207303)
@@ -1626,7 +1626,7 @@ flowtable_init(const void *unused __unus
            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);
 
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to