On Tue, Aug 01, 2006 at 12:01:03AM +1000, Herbert Xu wrote: > Ville Nuorvala <[EMAIL PROTECTED]> wrote: > > > >> When locating routes for redirects only the main table is > >> searched for now. Since policy rules will not be reversible > >> it is unclear whether it makes sense to change this. > > > > This is a good point. You are absolutely correct about the policy rules. > > > > IIRC, I initially looked through all the tables, but skipped this > > behavior when I rewrote the code for 2.6.11. Currently I'm once again > > in favor of looping through them all. This is IMO at least closer to the > > spirit of RFC 2461 section 8.3. where a host SHOULD update its > > destination cache upon receiving a redirect. If we don't look through > > all tables, we can't ensure this happens. > > Without a route cache, I think our only choice is to search through > all tables. The same thing applies to PMTU updates as well.
Actually, if we're adding policy routing, we should seriously consider whether living without a routing cache is still viable or not because the cost of a route lookup has just gone up. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - 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