Re: POLLRDONCE optimisation for epoll users (was: epoll and half closed TCP connections)

From: Jamie Lokier (jamie@shareable.org)
Date: Sun Jul 13 2003 - 21:56:44 EST


Davide Libenzi wrote:
> Where this will break by using a POLLRDHUP ?

It will break if

        (a) fd isn't a socket
        (b) fd isn't a TCP socket
        (c) kernel version <= 2.5.75
        (d) SO_RCVLOWAT < s
        (e) there is urgent data with OOBINLINE (I think)

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:49 EST