netdev
[Top] [All Lists]

[BUG/FIXED !] Equal Cost Multipath Broken in 2.4.x

To: Julian Anastasov <ja@xxxxxx>
Subject: [BUG/FIXED !] Equal Cost Multipath Broken in 2.4.x
From: bert hubert <ahu@xxxxxxx>
Date: Thu, 20 Dec 2001 14:53:32 +0100
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.33.0112201403450.5678-100000@l>; from ja@xxxxxx on Thu, Dec 20, 2001 at 02:13:16PM +0200
Mail-followup-to: bert hubert <ahu@xxxxxxx>, Julian Anastasov <ja@xxxxxx>, kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
References: <20011220122927.A12949@xxxxxxxxxxxxxxx> <Pine.LNX.4.33.0112201403450.5678-100000@l>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Dec 20, 2001 at 02:13:16PM +0200, Julian Anastasov wrote:
> 
> > Your patch does not appear to relate to iproute-20010824. I think I've found
> 
>       Hm, it is against iproute2-2.4.7-now-ss010824.tar.gz. Is
> iproute-20010824 (what is that?) somehow different?

20010824 is the version that comes with Debian unstable which, aside from
some additional manpages, is 100% identical to the regular one. However, I
must have not been awake this morning. It does apply now, AND fixes the
problem. Thanks!

> > the problem, however. I think there has been an API change between 2.2 and
> > 2.4. 'ip' compiled under 2.2 will not properly configure ECMP on 2.4!
> 
>       May be the effect is different with different compiler ...
> and uninitialized stack data. See the entry in RELNOTES:
> 
> [010803]
>  * If "dev" is not specified in multipath route, ifindex remained
>    uninitialized. Grr. Thanks to Kunihiro Ishiguro <kunihiro@xxxxxxxxx>.

I do specify dev on the commandline, however, you are right in that is the
compiler that fixes the behaviour. Apparently, gcc-3.0 is lucky in this
respect.

> > If I recompile tc under 2.4, the problem disappears.
> 
>       This is new. IIRC, the other users don't have such success :)

I happened to be compiling with gcc-3.0 at the time, while debian compile
their packages with gcc-2.95. I'll mention this patch on the LARTC
mailinglist too. 

Will you push this patch towards Alexey?

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc

<Prev in Thread] Current Thread [Next in Thread>