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

Jamie Lokier (
Mon, 14 Jul 2003 04:12:42 +0100

Jamie Lokier wrote:
> (e) there is urgent data with OOBINLINE (I think)

To be more precise, using the POLLRDHUP patch as-is, if someone sends
your program some data, then an URGent segment, then a FIN with
optional data in between, your program won't notice the second data or
FIN and will fail to clean up the socket.

-- Jamie
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