summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Caulfield <patrick@tykepenguin.com>2006-03-20 22:43:05 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 22:43:05 -0800
commitc60992db464bc3c459a6e2d3694fe1ae1a5ec784 (patch)
tree126a4dcfd69ead2c0061326ba62f5cd51bcd2a18
parentc4ea94ab3710eb2434abe2eab1a479c2dc01f8ac (diff)
[DECnet]: Patch to fix recvmsg() flag check
This patch means that 64bit kernel/32bit userland platforms will now work correctly with DECnet. Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com> Signed-off-by: Steven Whitehouse <steve@chygwyn.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/decnet/af_decnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c
index 824981eed225..2b289ef20ab3 100644
--- a/net/decnet/af_decnet.c
+++ b/net/decnet/af_decnet.c
@@ -1693,7 +1693,7 @@ static int dn_recvmsg(struct kiocb *iocb, struct socket *sock,
if (rv)
goto out;
- if (flags & ~(MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) {
+ if (flags & ~(MSG_CMSG_COMPAT|MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) {
rv = -EOPNOTSUPP;
goto out;
}