]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/unix/af_unix.c
[NET]: Forget the zero_it argument of sk_alloc()
[mirror_ubuntu-bionic-kernel.git] / net / unix / af_unix.c
index 9163ec526c2a0e66ed2fdf20f232173f6aed8d90..515e7a692f9bf85e263bf5a8752c22f0384595d0 100644 (file)
@@ -602,7 +602,7 @@ static struct sock * unix_create1(struct net *net, struct socket *sock)
        if (atomic_read(&unix_nr_socks) >= 2*get_max_files())
                goto out;
 
-       sk = sk_alloc(net, PF_UNIX, GFP_KERNEL, &unix_proto, 1);
+       sk = sk_alloc(net, PF_UNIX, GFP_KERNEL, &unix_proto);
        if (!sk)
                goto out;