Re: [PATCHv2 net] ipv6: use rt6_info members when dst is set in rt6_fill_node

2018-09-13 Thread David Miller
From: Xin Long Date: Tue, 11 Sep 2018 14:33:58 +0800 > In inet6_rtm_getroute, since Commit 93531c674315 ("net/ipv6: separate > handling of FIB entries from dst based routes"), it has used rt->from > to dump route info instead of rt. > > However for some route like cache, some of its information

[PATCHv2 net] ipv6: use rt6_info members when dst is set in rt6_fill_node

2018-09-11 Thread Xin Long
In inet6_rtm_getroute, since Commit 93531c674315 ("net/ipv6: separate handling of FIB entries from dst based routes"), it has used rt->from to dump route info instead of rt. However for some route like cache, some of its information like flags or gateway is not the same as that of the 'from' one.