Re: [PATCH net-next 07/21] net/ipv6: Save route type in rt6_info

2018-04-16 Thread David Miller
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 =

Re: [PATCH net-next 07/21] net/ipv6: Save route type in rt6_info

2018-04-16 Thread David Ahern
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, >>

Re: [PATCH net-next 07/21] net/ipv6: Save route type in rt6_info

2018-04-16 Thread David Ahern
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, >>

Re: [PATCH net-next 07/21] net/ipv6: Save route type in rt6_info

2018-04-16 Thread David Miller
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 =