hv_netvsc: Fix VF register on bonding devices
authorHaiyang Zhang <haiyangz@microsoft.com>
Sat, 23 Jul 2016 01:14:50 +0000 (18:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2016 18:19:22 +0000 (11:19 -0700)
commite2b9f1f7af1dfe20df8e68849ebb4bbafed5727a
tree6ab502bcaba25b9b9114ab2007279bf100537d7c
parent0a58f474928cbace609fb563295ecb32491b1c4a
hv_netvsc: Fix VF register on bonding devices

Added a condition to avoid bonding devices with same MAC registering
as VF.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c