Hello,

On Sat, 26 Jan 2008, Joonwoo Park wrote:

> > >       Not tested, someone please check the findings

        news: simple testing of patched fib_trie seems to work

> > > -                     if (fi->fib_treeref > 1)
> > > +                     fa = fa_first;
> > > +                     if (fa_match && fa != fa_match)
> > >                               goto out;
> > > -
> >
> > Isn't it possible to do this (fib_hash too)?
> >                        if (fa_match) {
> >                                if (fa != fa_match)
> Sorry!
>                                   if (fa == fa_match)
> >                                        return 0;
> >                                goto out;
> >                        }

        I see, your idea is to optimize the case when matched
parameters are same. Considering the used fi is same I don't see
any problems. I'll prepare 2nd version of both patches in
next hours.

Regards

--
Julian Anastasov <[EMAIL PROTECTED]>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to