diff options
Diffstat (limited to 'net/unix/af_unix.c')
| -rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index c17dc8f2cf5..924108f17b9 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -900,6 +900,8 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) struct path path; umode_t mode = S_IFSOCK | (SOCK_INODE(sock)->i_mode & ~current_umask()); + path.dentry = NULL; + path.mnt = NULL; err = unix_mknod(sun_path, mode, &path); if (err) { if (err == -EEXIST) |
