Patrick McHardy <[EMAIL PROTECTED]> wrote:
> 
> [IPROUTE]: Add support for multipath route realms
> 
> Routing realms exist per nexthop, but iproute currently only allows to send
> a single route realm, which is refused by the kernel for multipath routes.
> Add support for specifying per nexthop realms. Old kernels only return the
> first realm back to userspace when dumping, so the others can't be displayed,
> besides that it will also behave correctly on old kernels.
> 
> old kernel:
> 
> 1.2.3.4 realm 1
>        nexthop dev dummy0 weight 1
>        nexthop dev dummy1 weight 1
>        nexthop dev dummy2 weight 1
>        nexthop dev dummy3 weight 1
> 
> new kernel:
> 
> 1.2.3.4
>        nexthop realm 1 dev dummy0 weight 1
>        nexthop realm 2 dev dummy1 weight 1
>        nexthop realm 3 dev dummy2 weight 1
>        nexthop realm 4 dev dummy3 weight 1

This really looks like papering over fundamental brokenness of
IP_ROUTE_MULTIPATH_CACHED since you wouldn't otherwise get these
entries in the routing cache.

This reminds me that I better revisit the reasons that people gave
for actually using IP_ROUTE_MULTIPATH_CACHED the last time we tried
to get rid of it.

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

Reply via email to