Re: [iproute PATCH] ip-address: Use correct max attribute value in print_vf_stats64()

2019-02-21 Thread Stephen Hemminger
On Thu, 21 Feb 2019 19:37:51 +0100 Phil Sutter wrote: > IFLA_VF_MAX is larger than the highest valid index in vf array. > > Fixes: a1b99717c7cd7 ("Add displaying VF traffic statistics") > Signed-off-by: Phil Sutter Good catch. It worked because VF_MAX is 12 and VF_STATS_MAX is 8. Applied.

[iproute PATCH] ip-address: Use correct max attribute value in print_vf_stats64()

2019-02-21 Thread Phil Sutter
IFLA_VF_MAX is larger than the highest valid index in vf array. Fixes: a1b99717c7cd7 ("Add displaying VF traffic statistics") Signed-off-by: Phil Sutter --- ip/ipaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip/ipaddress.c b/ip/ipaddress.c index bc30d326ca0a3..139