Date: Fri, 30 May 2008 11:12:26 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty.c Message-ID: <200805301112.m4UBCQ43097828@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-05-30 11:12:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern tty.c Log: MFC rev. 1.279: The dev_refthread() in the tty_gettp() may fail, because Giant is taken in the giant_trick routines after the dev_refthread increments the si_threadcount. Remove assert, do not perform dev_relthread() for failed dev_refthread(), and handle failure in the tty_gettp() callers (cdevsw tty methods). Revision Changes Path 1.273.2.3 +6 -5 src/sys/kern/tty.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805301112.m4UBCQ43097828>