diff --git a/[refs] b/[refs] index 4f885c5290fb..dc3a93bfcb3d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 50c54a57dfbd392e17f1473717b8e125afcb01a3 +refs/heads/master: 77238f2b942b38ab4e7f3aced44084493e4a8675 diff --git a/trunk/net/unix/af_unix.c b/trunk/net/unix/af_unix.c index 51ab497115eb..fc820cd75453 100644 --- a/trunk/net/unix/af_unix.c +++ b/trunk/net/unix/af_unix.c @@ -1074,6 +1074,8 @@ static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, err = -ECONNREFUSED; if (other->sk_state != TCP_LISTEN) goto out_unlock; + if (other->sk_shutdown & RCV_SHUTDOWN) + goto out_unlock; if (unix_recvq_full(other)) { err = -EAGAIN;