2005-11-11 09:43:53

by Jeff Garzik

[permalink] [raw]
Subject: [PATCH] TCP build fix


Recent TCP changes broke the build.

Signed-off-by: Jeff Garzik <[email protected]>

diff --git a/net/ipv4/tcp_vegas.c b/net/ipv4/tcp_vegas.c
index 4376814..b7d296a 100644
--- a/net/ipv4/tcp_vegas.c
+++ b/net/ipv4/tcp_vegas.c
@@ -236,7 +236,7 @@ static void tcp_vegas_cong_avoid(struct
/* 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;


2005-11-11 18:42:19

by Stephen Hemminger

[permalink] [raw]
Subject: Re: [PATCH] TCP build fix

Jeff Garzik wrote:

>Recent TCP changes broke the build.
>
>Signed-off-by: Jeff Garzik <[email protected]>
>
>diff --git a/net/ipv4/tcp_vegas.c b/net/ipv4/tcp_vegas.c
>index 4376814..b7d296a 100644
>--- a/net/ipv4/tcp_vegas.c
>+++ b/net/ipv4/tcp_vegas.c
>@@ -236,7 +236,7 @@ static void tcp_vegas_cong_avoid(struct
> /* 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;
>
>
>
Sorry, must have happened when juggling the test and release tree.

2005-11-11 19:57:35

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] TCP build fix

From: Jeff Garzik <[email protected]>
Date: Fri, 11 Nov 2005 04:43:47 -0500

> Recent TCP changes broke the build.
>
> Signed-off-by: Jeff Garzik <[email protected]>

Thanks for catching this Jeff.