Skip to contentSkip to conversation

Equal Cost Multipath Broken in 2.4.x

BUG/FIXED ! Julian Anastasov 1 participant 1 message Dec 20, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello,

Quoted 2 lines · bert hubert

must have not been awake this morning. It does apply now, AND fixes the problem. Thanks!

Very good

Quoted 7 lines
Quoted 3 lines

[010803]
* If "dev" is not specified in multipath route, ifindex remained uninitialized. Grr. Thanks to Kunihiro Ishiguro <[email protected]>.

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.

Yes, it seems dev is an old problem. IMO the right fix is to
memset with 0 the struct before usage. This will avoid any further errors.

Quoted 3 lines

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.

Yes, it must depend somehow on the compiler, may be from
previous calls of other functions, no time to investigate.

Quoted 1 line

Will you push this patch towards Alexey?

If he is not reading the whole thread, please, do it directly.

Quoted 3 lines

Regards,

bert

Regards

--
Julian Anastasov <[email protected]>