From: Neal Cardwell Date: Fri, 20 Feb 2015 18:33:16 +0000 (-0500) Subject: tcp: fix tcp_should_expand_sndbuf() to use tcp_packets_in_flight() X-Git-Tag: omap-for-v4.1/wl12xx-dt~68^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6514890f7aa8dd75fa46e282a1c7a8615e86f363;p=pandora-kernel.git tcp: fix tcp_should_expand_sndbuf() to use tcp_packets_in_flight() tcp_should_expand_sndbuf() does not expand the send buffer if we have filled the congestion window. However, it should use tcp_packets_in_flight() instead of tp->packets_out to make this check. Testing has established that the difference matters a lot if there are many SACKed packets, causing a needless performance shortfall. Signed-off-by: Neal Cardwell Signed-off-by: Yuchung Cheng Signed-off-by: Eric Dumazet Signed-off-by: Nandita Dukkipati Signed-off-by: David S. Miller --- Reading git-diff-tree failed