diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 437a99e560e1b5b2196b8734b0eabd0ae4ac75c7..b213ce668c98d5e2f20b99e012f2bc7a5fe5e970 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -1124,7 +1124,7 @@ static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, /* Latch our state. - It is tricky place. We need to grab write lock and cannot + It is tricky place. We need to grab our state lock and cannot drop lock on peer. It is dangerous because deadlock is possible. Connect to self case and simultaneous attempt to connect are eliminated by checking socket