]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/scm.h
net: fix incorrect credentials passing
[karo-tx-linux.git] / include / net / scm.h
index 745460fa2f02cdd96e6b6befd79b8791d95965fd..820c1b365cba68b3cd109d44501cbd4c4a7bc15f 100644 (file)
@@ -50,7 +50,7 @@ static __inline__ void scm_set_cred(struct scm_cookie *scm,
 {
        scm->pid  = get_pid(pid);
        scm->cred = get_cred(cred);
-       cred_to_ucred(pid, cred, &scm->creds);
+       cred_to_ucred(pid, cred, &scm->creds, false);
 }
 
 static __inline__ void scm_destroy_cred(struct scm_cookie *scm)