diff options
author | ed <ed@FreeBSD.org> | 2008-09-24 11:16:09 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-09-24 11:16:09 +0000 |
commit | 7993f2b8351de976133f9d13d4d0ca2c74818ac8 (patch) | |
tree | cee296de8762f308ce4aee561055dca34a7f5b27 /etc | |
parent | 7f1b6df8c3e06ac5d303994b1e99b7244c5c2f39 (diff) | |
download | FreeBSD-src-7993f2b8351de976133f9d13d4d0ca2c74818ac8.zip FreeBSD-src-7993f2b8351de976133f9d13d4d0ca2c74818ac8.tar.gz |
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
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions