hv_netvsc: Fix VF register on vlan devices
authorHaiyang Zhang <haiyangz@microsoft.com>
Thu, 2 Jun 2016 19:02:04 +0000 (12:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Jun 2016 23:40:05 +0000 (19:40 -0400)
commitcb2911fed61497e4d0383355f1c865fcdaa94061
tree03e81c6785930c522848dc4bb9b8e1da501e497b
parentdb54275dffb28b0b19596a6418419930f58332a0
hv_netvsc: Fix VF register on vlan devices

Added a condition to avoid vlan 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