From owner-cvs-src@FreeBSD.ORG Sat Jan 12 00:59:32 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EF4016A468 for ; Sat, 12 Jan 2008 00:59:32 +0000 (UTC) (envelope-from peter@wemm.org) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 2518E13C469 for ; Sat, 12 Jan 2008 00:59:31 +0000 (UTC) (envelope-from peter@wemm.org) Received: by fg-out-1718.google.com with SMTP id 16so1425275fgg.35 for ; Fri, 11 Jan 2008 16:59:30 -0800 (PST) Received: by 10.82.161.19 with SMTP id j19mr6375873bue.20.1200099570370; Fri, 11 Jan 2008 16:59:30 -0800 (PST) Received: by 10.82.181.17 with HTTP; Fri, 11 Jan 2008 16:59:30 -0800 (PST) Message-ID: Date: Fri, 11 Jan 2008 16:59:30 -0800 From: "Peter Wemm" To: "John Baldwin" In-Reply-To: <200801120020.m0C0K6qN039248@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200801120020.m0C0K6qN039248@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern tty.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 12 Jan 2008 00:59:32 -0000 On Jan 11, 2008 4:20 PM, John Baldwin wrote: > jhb 2008-01-12 00:20:06 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7_0) > sys/kern tty.c > Log: > MFC: Close a race in the kern.ttys sysctl handler that resulted in panics > in dev2udev(). I think this fixes a (previously reported) panic caused by removing a usb tty device while a pending kqueue event is actively listening on it. At least, your change conflicted with my change to fix the kevent panic. I'll test and see if your version solves my problem as well. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5