| Submitter | Greg Kroah-Hartman |
|---|---|
| Date | 2009-11-06 22:15:13 |
| Message ID | <20091106221549.160832156@mini.kroah.org> |
| Download | mbox | patch |
| Permalink | /patch/58172/ |
| State | New |
| Headers | show |
Comments
Patch
--- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -1074,6 +1074,8 @@ restart: 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;