projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c1db73
)
tcp: Add missing braces to do_tcp_setsockopt
author
Dave Jones
<davej@redhat.com>
Thu, 5 Sep 2013 17:43:34 +0000
(13:43 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 5 Sep 2013 18:31:02 +0000
(14:31 -0400)
Signed-off-by: Dave Jones <davej@fedoraproject.org>
Acked-by: Neal Cardwell <ncardwell@google.com>
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 b2f6c74861af6d8e1209c65823bef34f806609c2..95544e4028c05e628c24bb522f5f11f479dffaec 100644
(file)
--- a/
net/ipv4/tcp.c
+++ b/
net/ipv4/tcp.c
@@
-2454,10
+2454,11
@@
static int do_tcp_setsockopt(struct sock *sk, int level,
case TCP_THIN_DUPACK:
if (val < 0 || val > 1)
err = -EINVAL;
- else
+ else
{
tp->thin_dupack = val;
if (tp->thin_dupack)
tcp_disable_early_retrans(tp);
+ }
break;
case TCP_REPAIR: