aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2005-07-05 22:20:09 +0000
committerDavid S. Miller <[email protected]>2005-07-05 22:20:09 +0000
commitaa93466bdfd901b926e033801f0b82b3eaa67be2 (patch)
tree5ee3bec452e795d48f380aee4494e06e5aba038e /net/ipv4/tcp_input.c
parent[TCP]: Break out tcp_snd_test() into it's constituent parts. (diff)
downloadkernel-aa93466bdfd901b926e033801f0b82b3eaa67be2.tar.gz
kernel-aa93466bdfd901b926e033801f0b82b3eaa67be2.zip
[TCP]: Eliminate redundant computations in tcp_write_xmit().
tcp_snd_test() is run for every packet output by a single call to tcp_write_xmit(), but this is not necessary. For one, the congestion window space needs to only be calculated one time, then used throughout the duration of the loop. This cleanup also makes experimenting with different TSO packetization schemes much easier. Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions