From: David S. Miller Date: Tue, 5 Jul 2005 22:19:54 +0000 (-0700) Subject: [TCP]: Break out tcp_snd_test() into it's constituent parts. X-Git-Tag: v2.6.13-rc2~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f4dd0a9438c73cbb1c240ece31390cf2c57294e;p=pandora-kernel.git [TCP]: Break out tcp_snd_test() into it's constituent parts. tcp_snd_test() does several different things, use inline functions to express this more clearly. 1) It initializes the TSO count of SKB, if necessary. 2) It performs the Nagle test. 3) It makes sure the congestion window is adhered to. 4) It makes sure SKB fits into the send window. This cleanup also sets things up so that things like the available packets in the congestion window does not need to be calculated multiple times by packet sending loops such as tcp_write_xmit(). Signed-off-by: David S. Miller --- Reading git-diff-tree failed