Re: [PATCH v2 net-next] ipv6: Convert gateway validation to use fib6_info

2019-06-27 Thread David Miller
From: David Ahern Date: Mon, 24 Jun 2019 13:44:51 -0700 > From: David Ahern > > Gateway validation does not need a dst_entry, it only needs the fib > entry to validate the gateway resolution and egress device. So, > convert ip6_nh_lookup_table from ip6_pol_route to fib6_table_lookup > and ip6_r

Re: [PATCH v2 net-next] ipv6: Convert gateway validation to use fib6_info

2019-06-25 Thread Wei Wang
On Mon, Jun 24, 2019 at 1:44 PM David Ahern wrote: > > From: David Ahern > > Gateway validation does not need a dst_entry, it only needs the fib > entry to validate the gateway resolution and egress device. So, > convert ip6_nh_lookup_table from ip6_pol_route to fib6_table_lookup > and ip6_route_

[PATCH v2 net-next] ipv6: Convert gateway validation to use fib6_info

2019-06-24 Thread David Ahern
From: David Ahern Gateway validation does not need a dst_entry, it only needs the fib entry to validate the gateway resolution and egress device. So, convert ip6_nh_lookup_table from ip6_pol_route to fib6_table_lookup and ip6_route_check_nh to use fib6_lookup over rt6_lookup. ip6_pol_route is a