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

From: David S. Miller
Date: Wed Oct 06 2004 - 15:16:25 EST


On Wed, 06 Oct 2004 13:54:46 -0600
Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx> wrote:

> Would it be so bad to do the checksum before marking the socket readable?

Yes, because if we do that we have to make two passes over the
data instead of one. It does make a big difference.
-
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/