From owner-cvs-src-old@FreeBSD.ORG Tue Jul 13 11:05:02 2010 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 E640A1065670 for ; Tue, 13 Jul 2010 11:05:02 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C2AB68FC1C for ; Tue, 13 Jul 2010 11:05:02 +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 o6DB52EH019541 for ; Tue, 13 Jul 2010 11:05:02 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o6DB52eH019540 for cvs-src-old@freebsd.org; Tue, 13 Jul 2010 11:05:02 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <201007131105.o6DB52eH019540@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Tue, 13 Jul 2010 11:04:46 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/kern tty.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: Tue, 13 Jul 2010 11:05:03 -0000 ed 2010-07-13 11:04:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/kern tty.c Log: SVN rev 209989 on 2010-07-13 11:04:46Z by ed MFC r209718: Fix a race condition, where a TTY could be destroyed twice. There are special cases where tty_rel_free() can be called twice in a row, namely when closing and revoking the TTY at the same moment. Only call destroy_dev_sched_cb() once. Reported by: Jeremie Le Hen Revision Changes Path 1.328.2.5 +2 -1 src/sys/kern/tty.c