Re: [PATCH net-next] net/ipv6: Address checks need to consider the L3 domain

2018-03-02 Thread David Ahern
On 3/2/18 4:09 PM, David Ahern wrote: > diff --git a/net/ipv6/route.c b/net/ipv6/route.c > index f0ae58424c45..792e7432ba6d 100644 > --- a/net/ipv6/route.c > +++ b/net/ipv6/route.c > @@ -2820,9 +2820,9 @@ static struct rt6_info *ip6_route_info_create(struct > fib6_config *cfg, >*

[PATCH net-next] net/ipv6: Address checks need to consider the L3 domain

2018-03-02 Thread David Ahern
ipv6_chk_addr_and_flags determines if an address is a local address. It is called by ip6_route_info_create to validate a gateway address is not a local address. It currently does not consider L3 domains and as a result does not allow a route to be added in one VRF if the nexthop points to an