[ovs-dev] [PATCH 07/14] socket-util: drain_rcvbuf() for Windows.

Ben Pfaff blp at nicira.com
Fri Feb 21 01:18:24 UTC 2014


On Wed, Feb 19, 2014 at 03:36:18PM -0800, Gurucharan Shetty wrote:
> drain_rcvbuf() is currenlty called from netlink-socket.c and
> netdev-linux.c. As of now, I don't see it being used for Windows.
> 
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

Is this because of the MSG_DONTWAIT here too?  If so, then I think we
can just delete that, because we only use this with nonblocking sockets
(I don't think OVS uses a blocking socket anywhere--blocking is bad).



More information about the dev mailing list