From owner-cvs-all@FreeBSD.ORG Sat Jun 26 13:51:58 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E923816A4CE; Sat, 26 Jun 2004 13:51:58 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0380043D1F; Sat, 26 Jun 2004 13:51:58 +0000 (GMT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i5QDpJxp029187; Sat, 26 Jun 2004 17:51:19 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i5QDpJqD029186; Sat, 26 Jun 2004 17:51:19 +0400 (MSD) (envelope-from ache) Date: Sat, 26 Jun 2004 17:51:19 +0400 From: Andrey Chernov To: Poul-Henning Kamp Message-ID: <20040626135119.GA29134@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Poul-Henning Kamp , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200406260844.i5Q8i4Yb054884@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406260844.i5Q8i4Yb054884@repoman.freebsd.org> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.26.0.3; VDF 6.26.0.7 (host: pobrecita.freebsd.ru) cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern tty.c src/sys/net if_sl.c ppp_tty.c src/sys/netgraph ng_tty.c src/sys/netgraph/bluetooth/drivers/h4 ng_h4.c src/sys/sys linedisc.h tty.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 13:51:59 -0000 On Sat, Jun 26, 2004 at 08:44:04AM +0000, Poul-Henning Kamp wrote: > Fix line discipline switching issues: If opening a new ldisc fails, > we have to revert to TTYDISC which we know will successfully open > rather than try the previous ldisc which might also fail to open. What about trying to switch to previous ldisc first and, only if it fails, revert to TTYDISC? -- Andrey Chernov | http://ache.pp.ru/