Re: [PATCH iproute2-next v2 1/2] iplink: print warning for missing VF data

2021-01-27 Thread David Ahern
On 1/26/21 10:40 AM, Edwin Peer wrote: > 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 > --- > ip/ipaddress.c | 9 - > 1 file changed, 8 i

[PATCH iproute2-next v2 1/2] iplink: print warning for missing VF data

2021-01-26 Thread Edwin Peer
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 --- ip/ipaddress.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ip/ipaddress.