]> git.ipfire.org Git - thirdparty/linux.git/commit
hv_netvsc: set master device
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 9 May 2018 21:09:04 +0000 (14:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 21:36:20 +0000 (17:36 -0400)
commit97f3efb64323beb0690576e9d74e94998ad6e82a
tree45e9a1857d1c535d53cf64f6f9dc4281aaccfd0a
parentb2a9643855c320353723a08b9ee4a3bbd0301c1a
hv_netvsc: set master device

The hyper-v transparent bonding should have used master_dev_link.
The netvsc device should look like a master bond device not
like the upper side of a tunnel.

This makes the semantics the same so that userspace applications
looking at network devices see the correct master relationshipship.

Fixes: 0c195567a8f6 ("netvsc: transparent VF management")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c