aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 20aea1595c4d..666d8a58d14a 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1615,7 +1615,7 @@ u32 __tcp_select_window(struct sock *sk)
1615 if (window <= free_space - mss || window > free_space) 1615 if (window <= free_space - mss || window > free_space)
1616 window = (free_space/mss)*mss; 1616 window = (free_space/mss)*mss;
1617 else if (mss == full_space && 1617 else if (mss == full_space &&
1618 free_space > window + full_space/2) 1618 free_space > window + full_space/2)
1619 window = free_space; 1619 window = free_space;
1620 } 1620 }
1621 1621