]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Kill extra cwnd validate in __tcp_push_pending_frames().
authorDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 22:18:51 +0000 (15:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 22:18:51 +0000 (15:18 -0700)
commit9e1a950d91b86058f7c4f98b59762d29d45899b2
tree2e92990b86b5bb5404e2f784f7cbb2579609bd95
parentbd1cc56d985c3db0a1dafab464d40031663c5e2a
[TCP]: Kill extra cwnd validate in __tcp_push_pending_frames().

The tcp_cwnd_validate() function should only be invoked
if we actually send some frames, yet __tcp_push_pending_frames()
will always invoke it.  tcp_write_xmit() does the call for us,
so the call here can simply be removed.

Also, tcp_write_xmit() can be marked static.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_output.c