net/netvsc: fix VF link update
authorStephen Hemminger <sthemmin@microsoft.com>
Mon, 5 Nov 2018 18:51:15 +0000 (10:51 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 19:10:54 +0000 (20:10 +0100)
commit7415ad0cdc20b732846d9ae3dabed343781499e3
tree8a00fa678f70b4443cf7365f0360982fb1e34269
parentc06aee624d69f91f253fa8e6f0c809c03ef126ce
net/netvsc: fix VF link update

The netvsc device calls VF (if present) to update the link status
with the wrong device. This leads to errors in mlx5 device when it
can't find the ifindex.

Fixes: dc7680e8597c ("net/netvsc: support integrated VF")

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
drivers/net/netvsc/hn_vf.c