Skip to contentSkip to conversation

Breakage in net/ipv4/tcp_vegas.c

DISCUSSION Horst von Brand 3 participants 3 messages Nov 12, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

CC [M] net/ipv4/tcp_vegas.o
net/ipv4/tcp_vegas.c: In function ‘tcp_vegas_cong_avoid’:
net/ipv4/tcp_vegas.c:239: error: ‘cnt’ undeclared (first use in this function)

Signature · 4 lines
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
#1 lore raw
Quoted 3 lines · Horst von Brand

CC [M] net/ipv4/tcp_vegas.o
net/ipv4/tcp_vegas.c: In function 'tcp_vegas_cong_avoid':
net/ipv4/tcp_vegas.c:239: error: 'cnt' undeclared (first use in this function)

This has been fixed in the networking tree which I imagine Linus will merge again soon but here is the fix before then:
Recent TCP changes broke the build.

net/ipv4/tcp_vegas.c +1 -1
index 4376814..b7d296a 100644
@@ -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;
 

--
Ian McDonald
http://wand.net.nz/~iam4
WAND Network Research Group
University of Waikato
New Zealand

maintainer
#2 lore raw

From: Ian McDonald <[email protected]>
Date: Sun, 13 Nov 2005 07:35:23 +1300

Quoted 3 lines

This has been fixed in the networking tree which I imagine Linus will merge again soon but here is the fix before then:
Recent TCP changes broke the build.

The fix is in Linus's GIT tree and made it into 2.6.15-rc1 as well.