Re: UDP recvmsg blocks after select(), 2.6 bug?

From: David S. Miller
Date: Wed Oct 06 2004 - 18:44:32 EST


On Wed, 6 Oct 2004 22:06:08 +0200
Olivier Galibert <galibert@xxxxxxxxx> wrote:

> On Wed, Oct 06, 2004 at 12:43:27PM -0700, Hua Zhong wrote:
> > How hard is it to treat the next read to the fd as NON_BLOCKING, even if
> > it's not set?
>
> Programs don't expect EAGAIN from blocking sockets.

That's right, which is why we block instead.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/