aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2011-05-17 15:38:57 -0400
committerDavid S. Miller <[email protected]>2011-05-17 15:38:57 -0400
commitb9eb8b8752804cecbacdb4d24b52e823cf07f107 (patch)
treea8f57f2fc019c8bd7249762d367e717d5d93fc29 /include/linux/debugobjects.h
parent30b9284db3c77a5e20bb826cd1b66ed7b26cb726 (diff)
net: recvmmsg: Strip MSG_WAITFORONE when calling recvmsg
recvmmsg fails on a raw socket with EINVAL. The reason for this is packet_recvmsg checks the incoming flags: err = -EINVAL; if (flags & ~(MSG_PEEK|MSG_DONTWAIT|MSG_TRUNC|MSG_CMSG_COMPAT|MSG_ERRQUEUE)) goto out; This patch strips out MSG_WAITFORONE when calling recvmmsg which fixes the issue. Signed-off-by: Anton Blanchard <[email protected]> Cc: [email protected] [2.6.34+] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions