projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "net/sched: flower: Fix wrong handle assignment during filter change"
[linux-block.git]
/
net
/
compat.c
diff --git
a/net/compat.c
b/net/compat.c
index 000a2e054d4c48010ab878d33384760544202a40..6564720f32b7de5a8a1927acda2fc7cb9f4a055b 100644
(file)
--- a/
net/compat.c
+++ b/
net/compat.c
@@
-211,6
+211,7
@@
int cmsghdr_from_user_compat_to_kern(struct msghdr *kmsg, struct sock *sk,
goto Einval;
/* Ok, looks like we made it. Hook it up and return success. */
+ kmsg->msg_control_is_user = false;
kmsg->msg_control = kcmsg_base;
kmsg->msg_controllen = kcmlen;
return 0;