]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/netlink/af_netlink.c
af_netlink: force credentials passing [CVE-2012-3520]
[karo-tx-linux.git] / net / netlink / af_netlink.c
index faa48f70b7c9b132bfaf3c8ce561982e82c4c7b6..59debb73ba75d0fe54633d204726ef3400f39503 100644 (file)
@@ -1329,7 +1329,7 @@ static int netlink_sendmsg(struct kiocb *kiocb, struct socket *sock,
        if (NULL == siocb->scm)
                siocb->scm = &scm;
 
-       err = scm_send(sock, msg, siocb->scm);
+       err = scm_send(sock, msg, siocb->scm, true);
        if (err < 0)
                return err;