Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c60992db authored by Patrick Caulfield's avatar Patrick Caulfield Committed by David S. Miller
Browse files

[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: default avatarPatrick Caulfield <patrick@tykepenguin.com>
Signed-off-by: default avatarSteven Whitehouse <steve@chygwyn.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c4ea94ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}