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
|