Date: Tue, 6 Jul 2010 08:56:34 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty.c Message-ID: <201007060856.o668uq7R074154@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2010-07-06 08:56:34 UTC
FreeBSD src repository
Modified files:
sys/kern tty.c
Log:
SVN rev 209718 on 2010-07-06 08:56:34Z by ed
Fix a race condition, where a TTY could be destroyed twice.
There are special cases where tty_rel_free() can be called twice in a
row, namely when closing and revoking the TTY at the same moment. Only
call destroy_dev_sched_cb() once.
Reported by: Jeremie Le Hen
MFC after: 1 week
Revision Changes Path
1.337 +2 -1 src/sys/kern/tty.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007060856.o668uq7R074154>
