From owner-cvs-src@FreeBSD.ORG Tue Apr 6 23:00:58 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6E9816A4CE; Tue, 6 Apr 2004 23:00:58 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA18B43D54; Tue, 6 Apr 2004 23:00:58 -0700 (PDT) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i375xvGe099997; Tue, 6 Apr 2004 22:59:57 -0700 (PDT) (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i375xv92099996; Tue, 6 Apr 2004 22:59:57 -0700 (PDT) (envelope-from cperciva) Message-Id: <200404070559.i375xv92099996@repoman.freebsd.org> From: Colin Percival Date: Tue, 6 Apr 2004 22:59:57 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_event.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 06:00:59 -0000 cperciva 2004/04/06 22:59:57 PDT FreeBSD src repository Modified files: sys/kern kern_event.c Log: Fix filt_timer* races: Finish initializing a knote before we pass it to a callout, and use the new callout_drain API to make sure that a callout has finished before we deallocate memory it is using. PR: kern/64121 Discussed with: gallatin Revision Changes Path 1.68 +2 -2 src/sys/kern/kern_event.c