[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080126051815.GA17278@ehus.geninetworks.com>
Date: Sat, 26 Jan 2008 14:18:15 +0900
From: Joonwoo Park <joonwpark81@...il.com>
To: Julian Anastasov <ja@....bg>
Cc: "David S. Miller" <davem@...emloft.net>,
Robert Olsson <robert.olsson@...a.slu.se>,
netdev@...r.kernel.org, Joonwoo Park <joonwpark81@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Jarek Poplawski <jarkao2@...il.com>, schwab@...e.de
Subject: Re: [PATCH 2.6.24] fib_trie: apply fixes from fib_hash
On Sat, Jan 26, 2008 at 04:40:30AM +0200, Julian Anastasov wrote:
>
> Signed-off-by: Julian Anastasov <ja@....bg>
> ---
>
> 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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists