From owner-cvs-src@FreeBSD.ORG Sat Sep 30 20:58:49 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 36A3916A40F; Sat, 30 Sep 2006 20:58:49 +0000 (UTC) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53F3B43D99; Sat, 30 Sep 2006 20:58:48 +0000 (GMT) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8UKwmZ6015794; Sat, 30 Sep 2006 20:58:48 GMT (envelope-from mbr@repoman.freebsd.org) Received: (from mbr@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8UKwmvR015793; Sat, 30 Sep 2006 20:58:48 GMT (envelope-from mbr) Message-Id: <200609302058.k8UKwmvR015793@repoman.freebsd.org> From: Martin Blapp Date: Sat, 30 Sep 2006 20:58:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: 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, 30 Sep 2006 20:58:49 -0000 mbr 2006-09-30 20:58:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern tty.c Log: MFC rev. 1.260 Any call of tty_close() with a tty refcount of <= 1 is wrong and we will free the tty in this case. This is a workaround until the underlaying devfs/tty problems are fixed. Approved by: re Revision Changes Path 1.250.2.2 +9 -1 src/sys/kern/tty.c