aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2019-06-13 21:06:53 +0000
committerDavid S. Miller <davem@davemloft.net>2019-06-14 19:47:05 -0700
commit9a33629ba6b26caebd73e3c581ba1e6068c696a7 (patch)
tree708778e19cce761358789fbb62c3cf1c69744833 /drivers/net
parentnet: sched: flower: don't call synchronize_rcu() on mask creation (diff)
downloadlinux-dev-9a33629ba6b26caebd73e3c581ba1e6068c696a7.tar.xz
linux-dev-9a33629ba6b26caebd73e3c581ba1e6068c696a7.zip
hv_netvsc: Set probe mode to sync
For better consistency of synthetic NIC names, we set the probe mode to PROBE_FORCE_SYNCHRONOUS. So the names can be aligned with the vmbus channel offer sequence. Fixes: af0a5646cb8d ("use the new async probing feature for the hyperv drivers") Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/hyperv/netvsc_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 03ea5a7ed3a4..afdcc5664ea6 100644
--- a/drivers/net/hyperv/netvsc_drv.c
+++ b/drivers/net/hyperv/netvsc_drv.c
@@ -2407,7 +2407,7 @@ static struct hv_driver netvsc_drv = {
.probe = netvsc_probe,
.remove = netvsc_remove,
.driver = {
- .probe_type = PROBE_PREFER_ASYNCHRONOUS,
+ .probe_type = PROBE_FORCE_SYNCHRONOUS,
},
};