git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f4dd0a
)
[TCP]: Eliminate redundant computations in tcp_write_xmit().
author
David S. Miller
<davem@davemloft.net>
Tue, 5 Jul 2005 22:20:09 +0000
(15:20 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 5 Jul 2005 22:20:09 +0000
(15:20 -0700)
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>
net/ipv4/tcp_output.c
patch
|
blob
|
history
diff --cc
net/ipv4/tcp_output.c
Simple merge