]> git.proxmox.com Git - mirror_iproute2.git/commit
iplink: print warning for missing VF data
authorEdwin Peer <edwin.peer@broadcom.com>
Tue, 26 Jan 2021 17:40:53 +0000 (09:40 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 2 Feb 2021 22:18:42 +0000 (14:18 -0800)
commit97647618882a5de74ea31068e114601fcd7178b7
tree50b26cb32df8545b467da7487bb868ff194d64ba
parent3d6d9e6e67a8d0433c9bc3df6f80817d3473bdd4
iplink: print warning for missing VF data

The kernel might truncate VF info in IFLA_VFINFO_LIST. Compare the
expected number of VFs in IFLA_NUM_VF to how many were found in the
list and warn accordingly.

Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipaddress.c