summaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-07-05 15:20:09 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-05 15:20:09 -0700
commitaa93466bdfd901b926e033801f0b82b3eaa67be2 (patch)
tree5ee3bec452e795d48f380aee4494e06e5aba038e /net/sysctl_net.c
parent7f4dd0a9438c73cbb1c240ece31390cf2c57294e (diff)
downloadop-kernel-dev-aa93466bdfd901b926e033801f0b82b3eaa67be2.zip
op-kernel-dev-aa93466bdfd901b926e033801f0b82b3eaa67be2.tar.gz
[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 <davem@davemloft.net>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud