Re: Honoring SO_RCVLOWAT in proto_ops.poll methods

From: David Miller
Date: Sat Sep 20 2008 - 18:22:04 EST


From: lkml@xxxxxxxxxxx
Date: Sat, 20 Sep 2008 16:42:29 -0500

> I have a need for select/poll/epoll_wait to block on sockets which have
> unread data sitting in the receive buffer with a quantity less than
> specified via setsockopt() w/SO_RCVLOWAT, not less than one like the
> current implementation.

If BSD never provided this behavior, such a change is likely
to break applications.
--
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/