Date: Wed, 24 Sep 2008 11:16:09 +0000 (UTC) From: Ed Schouten <ed@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: <200809241116.m8OBGIKQ051727@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2008-09-24 11:16:09 UTC FreeBSD src repository Modified files: sys/kern tty.c Log: SVN rev 183324 on 2008-09-24 11:16:09Z by ed Fix a crash when calling tty_rel_free() while draining during closure. Yesterday I got two reports of potential crashes, related to TTY deallocation during device closure. When a thread is in TF_OPENCLOSE, draining its output upon closure, we should not allow calls to tty_rel_free() to happen at the same time. This could cause the TTY to be torn down twice. PR: kern/127561 Reported by: KOIE Hidetaka <koie suri co jp> Discussed with: thompsa Revision Changes Path 1.291 +2 -2 src/sys/kern/tty.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809241116.m8OBGIKQ051727>