From owner-svn-src-all@FreeBSD.ORG Tue Apr 27 23:48:51 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A2A61065672; Tue, 27 Apr 2010 23:48:51 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC818FC0A; Tue, 27 Apr 2010 23:48:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3RNmppo058436; Tue, 27 Apr 2010 23:48:51 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3RNmpeX058434; Tue, 27 Apr 2010 23:48:51 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <201004272348.o3RNmpeX058434@svn.freebsd.org> From: Kip Macy Date: Tue, 27 Apr 2010 23:48:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207303 - head/sys/net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 23:48:51 -0000 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);