]> git.proxmox.com Git - mirror_iproute2.git/commit
ip-address: Use correct max attribute value in print_vf_stats64()
authorPhil Sutter <phil@nwl.cc>
Thu, 21 Feb 2019 18:37:51 +0000 (19:37 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 21 Feb 2019 22:16:08 +0000 (14:16 -0800)
commitd7cf2416fc3a08b411beffb93a9e118f6593892d
tree1f85508ffec7e0f45c146f7943b10fc5d833ba62
parentf5f8e96953453c056872ac22a4a311e4931b3fb1
ip-address: Use correct max attribute value in print_vf_stats64()

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 <phil@nwl.cc>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipaddress.c