On Thu, 20 Dec 2001, bert hubert wrote:
> must have not been awake this morning. It does apply now, AND fixes the
> problem. Thanks!
Very good
> > [010803]
> > * If "dev" is not specified in multipath route, ifindex remained
> > uninitialized. Grr. Thanks to Kunihiro Ishiguro <kunihiro@zebra.org>.
>
> 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.
> 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.
> Will you push this patch towards Alexey?
If he is not reading the whole thread, please, do it directly.
> Regards,
>
> bert
Regards
-- Julian Anastasov <ja@ssi.bg>- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/