|
@@ -1326,7 +1326,7 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
|
|
|
|
|
|
cleanup_rbuf(sk, copied);
|
|
cleanup_rbuf(sk, copied);
|
|
|
|
|
|
- if (tp->ucopy.task == user_recv) {
|
|
|
|
|
|
+ if (!sysctl_tcp_low_latency && tp->ucopy.task == user_recv) {
|
|
/* Install new reader */
|
|
/* Install new reader */
|
|
if (!user_recv && !(flags & (MSG_TRUNC | MSG_PEEK))) {
|
|
if (!user_recv && !(flags & (MSG_TRUNC | MSG_PEEK))) {
|
|
user_recv = current;
|
|
user_recv = current;
|