projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a505bec
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 23:08:28 +0000
(16:08 -0700)
[ Upstream commit
e2e5c4c07caf810d7849658dca42f598b3938e21
]
Signed-off-by: Dave Jones <davej@fedoraproject.org>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/tcp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp.c
b/net/ipv4/tcp.c
index 2005561861ad0382b34bff9ab308d2f2c2a1e0c6..2b1b57f213b2c47adb4b132ceb2c926438e25e5c 100644
(file)
--- a/
net/ipv4/tcp.c
+++ b/
net/ipv4/tcp.c
@@
-2447,10
+2447,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: