Subject: Re: CVS commit: syssrc
To: None <itohy@netbsd.org>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: source-changes
Date: 11/02/2000 20:22:28
ITOH Yasufumi <itohy@netbsd.org> writes:
> Modified Files:
> syssrc/sys/compat/common: tty_43.c
> syssrc/sys/net: if_sl.c if_strip.c
We need to reset to the default line discipline instead of setting to
NULL. What happen someone open a tty after slattach exits.
IMHO, leaving t_linesw as NULL just makes code complex.
And, it is better to test t_linesw directly against each &xxxx_disc
instead of testing l_no, isn't it?
enami.