]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit - sys/kern/tty.c
MFC r272270:
authorneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Oct 2014 04:35:09 +0000 (04:35 +0000)
committerneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Oct 2014 04:35:09 +0000 (04:35 +0000)
commitffaf07f92f50a6509537c0b55c782acf0c692fea
tree2f892be947175fee5fecf4e08e83e5b76dc27914
parent7c279754ecca3664be3476e50c1db4660c398f40
MFC r272270:

tty_rel_free() can be called more than once for the same tty so make sure
that the tty is dequeued from 'tty_list' only the first time.

git-svn-id: svn://svn.freebsd.org/base/stable/10@272726 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/tty.c