Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=19b2b486580f5939688d3e225acdc0f4b291ed0d
Commit:     19b2b486580f5939688d3e225acdc0f4b291ed0d
Parent:     d8f4f2235abc7b30cf447ca3e22ac28326b12f28
Author:     Ilpo Järvinen <[EMAIL PROTECTED]>
AuthorDate: Wed Mar 28 12:06:37 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:47:51 2007 -0700

    [TCP]: Rexmit hint must be cleared instead of setting it
    
    Stupid error from my side. Even though now that I noticed this,
    I hoped it would have been an optimization but no, the counter
    hint is then incorrect. Thus clearing is necessary for now (I
    still suspect though that this path is never executed).
    
    Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/ipv4/tcp_input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 7d843c4..0aa1724 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -1776,7 +1776,7 @@ static void tcp_verify_retransmit_hint(struct tcp_sock 
*tp,
        if ((tp->retransmit_skb_hint != NULL) &&
            before(TCP_SKB_CB(skb)->seq,
            TCP_SKB_CB(tp->retransmit_skb_hint)->seq))
-               tp->retransmit_skb_hint = skb;
+               tp->retransmit_skb_hint = NULL;
 }
 
 /* Mark head of queue up as lost. */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to