Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 1995 12:39:37 +0200 (UKR)
From:      Eugene Polovnikov <eugen@rd.zgik.zaporizhzhe.ua>
To:        hackers@freebsd.org
Cc:        yura@rd.zgik.zaporizhzhe.ua (Yury Pshenychny), eugen@rd.zgik.zaporizhzhe.ua (Eugene Polovnikov)
Subject:   bug or feature in kern/tty.c
Message-ID:  <199512131039.AA01605@rd.zgik.zaporizhzhe.ua>

next in thread | raw e-mail | index | archive | help
Hi!

I found strange thing in 2.1.0-RELEASE (and -current) in kern/tty.c.
When carrier was lossed then ttymodem() set TS_ZOMBIE and clear
TS_CONNECTED in tp->t_state. But TS_ZOMBIE is cleared only in ttioctl()
TIOCSETA* when line is setted to ignore modem status and when line is closed.
As result in ttymodem() after lossing carrier TS_CONNECTED  is not setting
whithout reopening line or changing c_cflag to CLOCAL, and if this line
used for SLIP connection as result we have 'No route to host' error
when trying output to this line after modem reconnected.

Or is this bug in slattach ? slattach never set CLOCAL when it's working
with modem control and without redial cmd.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512131039.AA01605>