diff options
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 8e8529d3c8c9..3dc0c6cf02a8 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -808,12 +808,6 @@ static unsigned int tcp_xmit_size_goal(struct sock *sk, u32 mss_now, | |||
808 | xmit_size_goal = min_t(u32, gso_size, | 808 | xmit_size_goal = min_t(u32, gso_size, |
809 | sk->sk_gso_max_size - 1 - hlen); | 809 | sk->sk_gso_max_size - 1 - hlen); |
810 | 810 | ||
811 | /* TSQ : try to have at least two segments in flight | ||
812 | * (one in NIC TX ring, another in Qdisc) | ||
813 | */ | ||
814 | xmit_size_goal = min_t(u32, xmit_size_goal, | ||
815 | sysctl_tcp_limit_output_bytes >> 1); | ||
816 | |||
817 | xmit_size_goal = tcp_bound_to_half_wnd(tp, xmit_size_goal); | 811 | xmit_size_goal = tcp_bound_to_half_wnd(tp, xmit_size_goal); |
818 | 812 | ||
819 | /* We try hard to avoid divides here */ | 813 | /* We try hard to avoid divides here */ |