]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make sure the TTY has not disappeared out from under us before calling
authorcsjp <csjp@FreeBSD.org>
Wed, 10 Sep 2008 20:12:10 +0000 (20:12 +0000)
committercsjp <csjp@FreeBSD.org>
Wed, 10 Sep 2008 20:12:10 +0000 (20:12 +0000)
commit1fa65beb809920dc3aac7a66e3f88768d0da285d
tree7668cd885a931d5f7779ec8ff48bcbaecb4c2efa
parent5f92bd8a2360a9a7bab3592599efa577544cf5d7
Make sure the TTY has not disappeared out from under us before calling
ttydevsw_outwakeup().  This should fix panics which occur after remote
login sessions timeout during moderate TTY activity.  An example of
where this might occur is where a pending write to the terminal is
occurring while sshd(8) is shutting down the TTY after a TCP timeout.

Submitted by: ed
sys/kern/tty_ttydisc.c