git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added some debug printk's for shares_write problems that Steve is seeing
[linux-2.6.git]
/
net
/
wanrouter
/
af_wanpipe.c
diff --git
a/net/wanrouter/af_wanpipe.c
b/net/wanrouter/af_wanpipe.c
index
d8ee5ed
..
4776ec1
100644
(file)
--- a/
net/wanrouter/af_wanpipe.c
+++ b/
net/wanrouter/af_wanpipe.c
@@
-552,7
+552,7
@@
static int wanpipe_sendmsg(struct kiocb *iocb, struct socket *sock,
if (sk->sk_state != WANSOCK_CONNECTED)
return -ENOTCONN;
- if (msg->msg_flags
&~MSG_DONTWAIT
)
+ if (msg->msg_flags
& ~(MSG_DONTWAIT|MSG_CMSG_COMPAT)
)
return(-EINVAL);
/* it was <=, now one can send