From owner-cvs-src-old@FreeBSD.ORG Thu Oct 22 18:48:44 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35F13106566B for ; Thu, 22 Oct 2009 18:48:44 +0000 (UTC) (envelope-from qingli@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 250E58FC14 for ; Thu, 22 Oct 2009 18:48:44 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9MImiYb059774 for ; Thu, 22 Oct 2009 18:48:44 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9MImiDa059773 for cvs-src-old@freebsd.org; Thu, 22 Oct 2009 18:48:44 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200910221848.n9MImiDa059773@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Thu, 22 Oct 2009 18:48:25 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/net flowtable.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 18:48:44 -0000 qingli 2009-10-22 18:48:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/net flowtable.c Log: SVN rev 198371 on 2009-10-22 18:48:25Z by qingli MFC 198306 The flow-table function flowtable_route_flush() may be called during system initialization time. Since the flow-table is designed to maintain per CPU flow cache, the existing code did not check whether "smp_started" is true before calling sched_bind() and sched_unbind(), which triggers a page fault. Reviewed by: jeff Approved by: re Revision Changes Path 1.15.2.8 +11 -7 src/sys/net/flowtable.c