From owner-cvs-src@FreeBSD.ORG Wed Sep 10 20:12:21 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 7D7171065724; Wed, 10 Sep 2008 20:12:21 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 84F318FC08; Wed, 10 Sep 2008 20:12:18 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8AKCITp071383; Wed, 10 Sep 2008 20:12:18 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8AKCIwY071372; Wed, 10 Sep 2008 20:12:18 GMT (envelope-from csjp@repoman.freebsd.org) Message-Id: <200809102012.m8AKCIwY071372@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to csjp@repoman.freebsd.org using -f From: "Christian S.J. Peron" Date: Wed, 10 Sep 2008 20:12:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern tty_ttydisc.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: Wed, 10 Sep 2008 20:12:21 -0000 csjp 2008-09-10 20:12:10 UTC FreeBSD src repository Modified files: sys/kern tty_ttydisc.c Log: SVN rev 182917 on 2008-09-10 20:12:10Z by csjp Make sure the TTY has not disappeared out from under us before calling ttydevsw_outwakeup(). This should fix panics which occur after remote login sessions timeout during moderate TTY activity. An example of where this might occur is where a pending write to the terminal is occurring while sshd(8) is shutting down the TTY after a TCP timeout. Submitted by: ed Revision Changes Path 1.4 +3 -2 src/sys/kern/tty_ttydisc.c