From: David Ahern
Date: Mon, 16 Apr 2018 13:50:07 -0600
> Added this to the commit message:
>
> fc_type is set in current users based on the algorithm in rt6_fill_node:
> - rt6i_flags contains RTF_LOCAL: fc_type = RTN_LOCAL
> - rt6i_flags contains RTF_ANYCAST: fc_type = RTN_ANYCAST
> - els
On 4/16/18 1:20 PM, David Miller wrote:
> From: David Ahern
> Date: Mon, 16 Apr 2018 08:22:41 -0700
>
>> @@ -2394,6 +2395,7 @@ static void addrconf_add_mroute(struct net_device *dev)
>> .fc_ifindex = dev->ifindex,
>> .fc_dst_len = 8,
>> .fc_flags = RTF_UP,
>
On 4/16/18 1:20 PM, David Miller wrote:
> From: David Ahern
> Date: Mon, 16 Apr 2018 08:22:41 -0700
>
>> @@ -2394,6 +2395,7 @@ static void addrconf_add_mroute(struct net_device *dev)
>> .fc_ifindex = dev->ifindex,
>> .fc_dst_len = 8,
>> .fc_flags = RTF_UP,
>
From: David Ahern
Date: Mon, 16 Apr 2018 08:22:41 -0700
> @@ -2394,6 +2395,7 @@ static void addrconf_add_mroute(struct net_device *dev)
> .fc_ifindex = dev->ifindex,
> .fc_dst_len = 8,
> .fc_flags = RTF_UP,
> + .fc_type = RTN_UNICAST,
>
The RTN_ type for IPv6 FIB entries is currently embedded in rt6i_flags
and dst.error. Since dst is going to be removed, it can no longer be
relied on for FIB dumps so save the route type as fib6_type.
Signed-off-by: David Ahern
---
include/net/ip6_fib.h | 1 +
net/ipv6/addrconf.c | 2 ++
net