Messages in this thread | | | Subject | Re: The Serial Layer | From | Alan Cox <> | Date | Tue, 07 Sep 2004 20:14:20 +0100 |
| |
On Maw, 2004-09-07 at 21:06, Arjan van de Ven wrote: > On Tue, 2004-09-07 at 20:49, Alan Cox wrote: > > Is anyone currently looking at fixing this before I start applying > > extreme violence ? In particular to start trying to do something about > > the races in TIOCSTI, line discipline setting, hangup v receive, drivers > > abusing the API and calling ldisc.receive_buf direct ? > > don't you mean the TTY layer instead of the serial layer ?
Both. A lot of hangup/receive races are in the serial drivers themselves doing things like
hangup [close ldisc] send bytes to the ldisc [Boom!]
Alan
- 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/
| |