Skip to content
Commit 7bf7bb37 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller
Browse files

hv_netvsc: fix network namespace issues with VF support



When finding the parent netvsc device, the search needs to be across
all netvsc device instances (independent of network namespace).

Find parent device of VF using upper_dev_get routine which
searches only adjacent list.

Fixes: e8ff40d4 ("hv_netvsc: improve VF device matching")
Signed-off-by: default avatarStephen Hemminger <sthemmin@microsoft.com>

netns aware byref
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8cde8f0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment