diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-07 10:29:58 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-07 10:29:58 +0100 |
commit | 258594a138f4ca9adf214f5272592d7f21def610 (patch) | |
tree | d97ee71c997b0412f79b9ec4150cb52ce838fe13 /net/ipv4/tcp.c | |
parent | a87d091434ed2a34d647979ab12084139ee1fe41 (diff) | |
parent | ca3273f9646694e0419cfb9d6c12deb1c9aff27c (diff) |
Merge branch 'sched/urgent' into sched/core
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index eccb7165a80..c5aca0bb116 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -1374,8 +1374,7 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN) || !timeo || - signal_pending(current) || - (flags & MSG_PEEK)) + signal_pending(current)) break; } else { if (sock_flag(sk, SOCK_DONE)) |