Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2010 23:48:51 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r207303 - head/sys/net
Message-ID:  <201004272348.o3RNmpeX058434@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004272348.o3RNmpeX058434>