Re: [PATCH iproute 2/2] utils: fix get_rtnl_link_stats_rta stats parsing

2018-10-15 Thread Stephen Hemminger
On Thu, 11 Oct 2018 14:24:03 +0200 Lorenzo Bianconi wrote: > > > iproute2 walks through the list of available tunnels using netlink > > > protocol in order to get device info instead of reading > > > them from proc filesystem. However the kernel reports device statistics > > > using IFLA_INET6_ST

Re: [PATCH iproute 2/2] utils: fix get_rtnl_link_stats_rta stats parsing

2018-10-11 Thread Stephen Hemminger
On Thu, 11 Oct 2018 14:24:03 +0200 Lorenzo Bianconi wrote: > > > iproute2 walks through the list of available tunnels using netlink > > > protocol in order to get device info instead of reading > > > them from proc filesystem. However the kernel reports device statistics > > > using IFLA_INET6_ST

Re: [PATCH iproute 2/2] utils: fix get_rtnl_link_stats_rta stats parsing

2018-10-11 Thread Lorenzo Bianconi
> > iproute2 walks through the list of available tunnels using netlink > > protocol in order to get device info instead of reading > > them from proc filesystem. However the kernel reports device statistics > > using IFLA_INET6_STATS/IFLA_INET6_ICMP6STATS attributes nested in > > IFLA_PROTINFO one

Re: [PATCH iproute 2/2] utils: fix get_rtnl_link_stats_rta stats parsing

2018-10-10 Thread Stephen Hemminger
On Wed, 10 Oct 2018 17:00:58 +0200 Lorenzo Bianconi wrote: > iproute2 walks through the list of available tunnels using netlink > protocol in order to get device info instead of reading > them from proc filesystem. However the kernel reports device statistics > using IFLA_INET6_STATS/IFLA_INET6_I

[PATCH iproute 2/2] utils: fix get_rtnl_link_stats_rta stats parsing

2018-10-10 Thread Lorenzo Bianconi
iproute2 walks through the list of available tunnels using netlink protocol in order to get device info instead of reading them from proc filesystem. However the kernel reports device statistics using IFLA_INET6_STATS/IFLA_INET6_ICMP6STATS attributes nested in IFLA_PROTINFO one but iproutes expects