]> Git Repo - linux.git/commitdiff
[TCP] H-TCP: Fix accounting
authorBaruch Even <[email protected]>
Tue, 31 Jan 2006 04:54:39 +0000 (20:54 -0800)
committerDavid S. Miller <[email protected]>
Tue, 31 Jan 2006 04:54:39 +0000 (20:54 -0800)
This fixes the accounting in H-TCP, the ccount variable is also
adjusted a few lines above this one.

This line was not supposed to be there and wasn't there in the patches
originally submitted, the four patches submitted were merged to one
and in that merge the bug was introduced.

Signed-Off-By: Baruch Even <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv4/tcp_htcp.c

index 3284cfb993e6bd9c70963ba0f389b582f4183ab9..128de4d7c0b7dd40c95d94b3efdbab73a2e20041 100644 (file)
@@ -230,7 +230,6 @@ static void htcp_cong_avoid(struct sock *sk, u32 ack, u32 rtt,
                        if (tp->snd_cwnd < tp->snd_cwnd_clamp)
                                tp->snd_cwnd++;
                        tp->snd_cwnd_cnt = 0;
-                       ca->ccount++;
                }
        }
 }
This page took 0.039276 seconds and 4 git commands to generate.