]> Git Repo - linux.git/commit
net: Add MSG_WAITFORONE flag to recvmmsg
authorBrandon L Black <[email protected]>
Fri, 26 Mar 2010 16:18:03 +0000 (16:18 +0000)
committerDavid S. Miller <[email protected]>
Sat, 27 Mar 2010 15:29:01 +0000 (08:29 -0700)
commit71c5c1595c04852d6fbf3c4882b47b30b61a4d32
treed95c64c5b752d37e7d1235e52f0c1fceb816c2ec
parentf49c57e141c7f53353e4265a31dc2324e6215037
net: Add MSG_WAITFORONE flag to recvmmsg

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 <[email protected]>
Acked-by: Ulrich Drepper <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Acked-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/linux/socket.h
net/socket.c
This page took 0.058569 seconds and 4 git commands to generate.