Revert "net/sched: flower: Fix wrong handle assignment during filter change"
[linux-block.git] / net / compat.c
index 000a2e054d4c48010ab878d33384760544202a40..6564720f32b7de5a8a1927acda2fc7cb9f4a055b 100644 (file)
@@ -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;