git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
can: isotp: recvmsg(): allow MSG_CMSG_COMPAT flag
[sfrench/cifs-2.6.git]
/
net
/
can
/
isotp.c
diff --git
a/net/can/isotp.c
b/net/can/isotp.c
index a750259cb79c4fb93cfc6d7b50193d585831cca7..84f9aba029017c47349aaed84639228a538fece1 100644
(file)
--- a/
net/can/isotp.c
+++ b/
net/can/isotp.c
@@
-1139,7
+1139,7
@@
static int isotp_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
struct isotp_sock *so = isotp_sk(sk);
int ret = 0;
- if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK))
+ if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK
| MSG_CMSG_COMPAT
))
return -EINVAL;
if (!so->bound)