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

From: David S. Miller
Date: Thu Oct 07 2004 - 19:36:54 EST


On Thu, 07 Oct 2004 16:39:06 -0600
Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx> wrote:

> However, you chopped off what I consider the interesting part of my post. I
> propose that if we call select() on a blocking file descriptor, we verify the
> checksum before saying that the socket is readable. Then, at recvmsg() time, if
> it hasn't been checked already we would check it (to allow for the case of
> blocking socket without select()).

So people who improperly use select() with blocking sockets get punished
in a different way, with half the performance compared to today?
-
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/