Re: [PATCH v2] Add MSG_WAITFORONE flag to recvmmsg

From: Ulrich Drepper
Date: Sat Mar 27 2010 - 00:58:49 EST


On Fri, Mar 26, 2010 at 19:18, Brandon L Black <blblack@xxxxxxxxx> wrote:
> Add new flag MSG_WAITFORONE for the recvmmsg() syscall.
> When this flag is specified for a blocking socket, recvmmsg()
> will only block until at least 1 packet is available. ÂThe
> default behavior is to block until all vlen packets are
> available. ÂThis flag has no effect on non-blocking sockets
> or when used in combination with MSG_DONTWAIT.
>
> Signed-off-by: Brandon L Black <blblack@xxxxxxxxx>

This is useful and looks OK to me.

Acked-by: Ulrich Drepper <drepper@xxxxxxxxxx>
--
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/