diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-11-17 12:16:43 +0300 | 
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-11-17 12:17:47 +0300 | 
| commit | a7b63425a41cd6a8d50f76fef0660c5110f97e91 (patch) | |
| tree | be17ee121f1c8814d8d39c9f3e0205d9397fab54 /net/unix/af_unix.c | |
| parent | 35039eb6b199749943547c8572be6604edf00229 (diff) | |
| parent | 3726cc75e581c157202da93bb2333cce25c15c98 (diff) | |
| download | linux-a7b63425a41cd6a8d50f76fef0660c5110f97e91.tar.xz | |
Merge branch 'perf/core' into perf/probes
Resolved merge conflict in tools/perf/Makefile
Merge reason: we want to queue up a dependent patch.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 51ab497115eb..fc820cd75453 100644 --- 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;  | 
