Re: [PATCH net-next] net: ipv6: Use passed in table for nexthop lookups

2016-04-13 Thread David Ahern
On 4/13/16 7:41 PM, David Miller wrote: This is semantically different from the referenced ipv4 change. Lack of a matching table for cfg->fc_table does not result in a failure on the ipv4 side. It falls back in that case. But here in this ipv6 patch, you do fail if fib6_get_table() gives NULL.

Re: [PATCH net-next] net: ipv6: Use passed in table for nexthop lookups

2016-04-13 Thread David Miller
From: David Ahern Date: Thu, 7 Apr 2016 11:11:14 -0700 > Similar to 3bfd847203c6 ("net: Use passed in table for nexthop lookups") > for IPv4, if the route spec contains a table id use that to lookup the > next hop first and fall back to a full lookup if it fails (per the fix > 4c9bcd117918b ("ne

[PATCH net-next] net: ipv6: Use passed in table for nexthop lookups

2016-04-07 Thread David Ahern
Similar to 3bfd847203c6 ("net: Use passed in table for nexthop lookups") for IPv4, if the route spec contains a table id use that to lookup the next hop first and fall back to a full lookup if it fails (per the fix 4c9bcd117918b ("net: Fix nexthop lookups")). Example: root@kenny:~# ip -6 ro l