![]() | |||||||||||||
Messages in this thread |
On Iau, 2004-10-21 at 14:20, Paul Fulghum wrote: > This restores the original behavior for > devices that have not yet implemented ldisc->hangup() > and should work with the new locking. Unfortunately that re-introduces another existing unfixed problem. The N_TTY layer echoes bytes back up the stack into the drivers which are in hangup state. I did try calling the set_tty_ldisc but not every driver in that situation then did the right thing and I got stuck ttys too. I think that is fixed but 2.6.9rc4 was a bit tight. If you want to do the tty_ldisc_set then add a "nulldisc" that just eats anything it is fed and EOF's anything the other direction. That would avoid the driver reflect crash I suspect. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 14:07 [from the cache] ©2003-2008 | |||||||||||||