tcp: don't clear retransmit_skb_hint when not necessary
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Sun, 21 Sep 2008 04:25:15 +0000 (21:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Sep 2008 04:25:15 +0000 (21:25 -0700)
commitef9da47c7cc64d69526331f315e76b5680d4048f
tree97407b83c7c339dbe1fd0948c30f35e1680562ec
parentf0ceb0ed86b4792a4ed9d3438f5f7572e48f9803
tcp: don't clear retransmit_skb_hint when not necessary

Most importantly avoid doing it with cumulative ACK. Not clearing
means that we no longer need n^2 processing in resolution of each
fast recovery.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c