[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1321636073.3277.38.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date: Fri, 18 Nov 2011 18:07:53 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Flavio Leitner <fbl@...hat.com>
Cc: David Miller <davem@...emloft.net>,
Ivan Zahariev <famzah@...soft.com>, netdev@...r.kernel.org,
Vasiliy Kulikov <segoon@...nwall.com>
Subject: Re: Unable to flush ICMP redirect routes in kernel 3.0+
Le vendredi 18 novembre 2011 à 15:05 -0200, Flavio Leitner a écrit :
> Sorry, I meant that we are trying to avoid doing this:
> + hash = rt_hash(daddr, skeys[s], ikeys[i],rt_genid(net));
> +
> + rthp = &rt_hash_table[hash].chain;
> +
> + while ((rt = rcu_dereference(*rthp)) != NULL) {
> + rthp = &rt->dst.rt_next;
Sure, but this is still needed right now.
Once route cache is removed, this loop wont exist anymore ;)
--
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