mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Breakage in net/ipv4/tcp_vegas.c
@ 2005-11-11 13:36 Horst von Brand
  2005-11-12 18:35 ` Ian McDonald
  0 siblings, 1 reply; 3+ messages in thread
From: Horst von Brand @ 2005-11-11 13:36 UTC (permalink / raw)
  To: Linux Kernel Mailing List

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

  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)
-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Breakage in net/ipv4/tcp_vegas.c
  2005-11-11 13:36 Breakage in net/ipv4/tcp_vegas.c Horst von Brand
@ 2005-11-12 18:35 ` Ian McDonald
  2005-11-12 19:43   ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Ian McDonald @ 2005-11-12 18:35 UTC (permalink / raw)
  To: Horst von Brand; +Cc: Linux Kernel Mailing List

On 11/12/05, Horst von Brand <vonbrand@inf.utfsm.cl> wrote:
>   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.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

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;

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Breakage in net/ipv4/tcp_vegas.c
  2005-11-12 18:35 ` Ian McDonald
@ 2005-11-12 19:43   ` David S. Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David S. Miller @ 2005-11-12 19:43 UTC (permalink / raw)
  To: imcdnzl; +Cc: vonbrand, linux-kernel

From: Ian McDonald <imcdnzl@gmail.com>
Date: Sun, 13 Nov 2005 07:35:23 +1300

> 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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-12 19:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-11 13:36 Breakage in net/ipv4/tcp_vegas.c Horst von Brand
2005-11-12 18:35 ` Ian McDonald
2005-11-12 19:43   ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®