On Thu, 2012-08-16 at 14:59 +0000, Hefty, Sean wrote: > > Support MSG_WAITALL flag with recv() when using rsockets. > > > > Signed-off-by: Sridhar Samudrala <[email protected]> > > I started working on a patch for MSG_WAITALL a few weeks ago, but set it > aside. The problem I hit into was trying to handle MSG_PEEK at the same > time. This complicated the patch quite a bit.
MSG_PEEK is one of the conditions when recv() with MSG_WAITALL can return with fewer bytes than requested. So i think we don't need to wait for all the data when MSG_PEEK is also set. http://pubs.opengroup.org/onlinepubs/007904975/functions/recv.html Thanks Sridhar -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
