https://github.com/torvalds/linux
Revision aa93466bdfd901b926e033801f0b82b3eaa67be2 authored by David S. Miller on 05 July 2005, 22:20:09 UTC, committed by David S. Miller on 05 July 2005, 22:20:09 UTC
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>
1 parent 7f4dd0a
History
Tip revision: aa93466bdfd901b926e033801f0b82b3eaa67be2 authored by David S. Miller on 05 July 2005, 22:20:09 UTC
[TCP]: Eliminate redundant computations in tcp_write_xmit().
Tip revision: aa93466

README

back to top