Re: Bad Network SIGIO on Linux-2.4.19

From: Richard B. Johnson (
Date: Wed Aug 21 2002 - 09:36:13 EST

On Wed, 21 Aug 2002 wrote:

> This is a fix included since 2.4.19-pre5-aa1.

Well if this is a 'fix' there is a lot of legacy software that
just got broken. It was discovered when the new kernel was booted
on some very reliable file-servers.

> You're assuming that every SIGIO coming your way
> 1) is coming via fd 0
> 2) is a POLL_IN interrupt
> You should either be polling the file descriptor (0) from the signal
> handler, or using SA_SIGINFO (see sigaction(2)) to determine
> which interrupt it is.

I wrote the software to demonstrate the problem, not as an example
of how to poll the keyboard.

Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
The US military has given us many words, FUBAR, SNAFU, now ENRON.
Yes, top management were graduates of West Point and Annapolis.

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

This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:22 EST