[PATCH] TCP: fix vegas build
authorJeff Garzik <jgarzik@pobox.com>
Fri, 11 Nov 2005 09:43:47 +0000 (04:43 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 11 Nov 2005 17:21:28 +0000 (09:21 -0800)
Recent TCP changes broke the build.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/ipv4/tcp_vegas.c

index 4376814..b7d296a 100644 (file)
@@ -236,7 +236,7 @@ static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack,
                        /* We don't have enough RTT samples to do the Vegas
                         * calculation, so we'll behave like Reno.
                         */
-                       tcp_reno_cong_avoid(sk, ack, seq_rtt, in_flight, cnt);
+                       tcp_reno_cong_avoid(sk, ack, seq_rtt, in_flight, flag);
                } else {
                        u32 rtt, target_cwnd, diff;