hv_netvsc: Set probe mode to sync
Haiyang Zhang
maintainerPATCH 1/1 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 <[email protected]>
--- drivers/net/hyperv/netvsc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/hyperv/netvsc_drv.c +1 -1
@@ -2407,7 +2407,7 @@ static int netvsc_remove(struct hv_device *dev) .probe = netvsc_probe, .remove = netvsc_remove, .driver = { - .probe_type = PROBE_PREFER_ASYNCHRONOUS, + .probe_type = PROBE_FORCE_SYNCHRONOUS, }, };
Signature · 1 line
1.8.3.1
David Miller
maintainerFrom: Haiyang Zhang <[email protected]>
Date: Thu, 13 Jun 2019 21:06:53 +0000
Quoted 6 lines
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 <[email protected]>
Applied and queued up for -stable.