aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-09-21 00:24:49 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-21 00:24:49 -0400
commitf0ceb0ed86b4792a4ed9d3438f5f7572e48f9803 (patch)
tree0bc0525bb8bb80fc6b8d93b48d5726a69b8e8727
parent0e1c54c2a405494281e0639aacc90db03b50ae77 (diff)
tcp: remove retransmit_skb_hint clearing from failure
This doesn't much sense here afaict, probably never has. Since fragmenting and collapsing deal the hints by themselves, there should be very little reason for the rexmit loop to do that. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/tcp_output.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index b5b4ddcdda41..f900fae8b87e 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -2096,10 +2096,8 @@ begin_fwd:
2096 if (sacked & (TCPCB_SACKED_ACKED|TCPCB_SACKED_RETRANS)) 2096 if (sacked & (TCPCB_SACKED_ACKED|TCPCB_SACKED_RETRANS))
2097 continue; 2097 continue;
2098 2098
2099 if (tcp_retransmit_skb(sk, skb)) { 2099 if (tcp_retransmit_skb(sk, skb))
2100 tp->retransmit_skb_hint = NULL;
2101 return; 2100 return;
2102 }
2103 NET_INC_STATS_BH(sock_net(sk), mib_idx); 2101 NET_INC_STATS_BH(sock_net(sk), mib_idx);
2104 2102
2105 if (skb == tcp_write_queue_head(sk)) 2103 if (skb == tcp_write_queue_head(sk))