Re: TTY: poll_wait (kernel 2.2.15)

From: Alan Cox (
Date: Tue May 09 2000 - 07:09:53 EST

> Would someone please tell me what is this tty->poll_wait for?? It breaks
> driver backward compatibility in the 2.2.x kernel series (i.e. the driver
> that compiles in 2.2.15 does not compile in previous 2.2.x kernels), so I
> hope this new tty_struct field stands for something important.

It fixes a bug in lots of the tty drivers that were adding two entries to
the poll queue which is not allowed.

> In time: it's not present in 2.3.99-pre6 (why not, assuming it's
> important?).

I've yet to look at that in detail, or the alternate proposal. Right now anyone
can get root or crash 2.3.99pre using that bug.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:13 EST