projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7d7fc0
)
[TCP]: Fix sysctl_tcp_low_latency
author
David S. Miller
<davem@davemloft.net>
Sun, 19 Jun 2005 06:01:10 +0000
(23:01 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 19 Jun 2005 06:01:10 +0000
(23:01 -0700)
When enabled, this should disable UCOPY prequeue'ing altogether,
but it does not due to a missing test.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp.c
b/net/ipv4/tcp.c
index 3a4c52e77e018f28dbe0087575358d89a6e41ea4..674bbd8cfd36d03c98dafa1770fc5daccb2b13f0 100644
(file)
--- a/
net/ipv4/tcp.c
+++ b/
net/ipv4/tcp.c
@@
-1326,7
+1326,7
@@
int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
cleanup_rbuf(sk, copied);
- if (tp->ucopy.task == user_recv) {
+ if (
!sysctl_tcp_low_latency &&
tp->ucopy.task == user_recv) {
/* Install new reader */
if (!user_recv && !(flags & (MSG_TRUNC | MSG_PEEK))) {
user_recv = current;