On Sat, Jan 26, 2008 at 04:40:30AM +0200, Julian Anastasov wrote:
> 
> Signed-off-by: Julian Anastasov <[EMAIL PROTECTED]>
> ---
> 
>       Not tested, someone please check the findings
> 
> --- linux-2.6.24/net/ipv4/fib_trie.c_orig     2008-01-25 10:45:06.000000000 
> +0200
> +
>               if (cfg->fc_nlflags & NLM_F_REPLACE) {
>                       struct fib_info *fi_drop;
>                       u8 state;
>  
> -                     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)
                                        return 0;
                                goto out;
                        }

Thanks,
Joonwoo
--
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