Skip to contentSkip to conversation

Staging: hv: netvsc: Increase the timeout value in netvsc_init_recv_buf()

PATCH In review K. Y. Srinivasan 1 participant 1 message Jun 6, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 Staging: hv: netvsc: Increase the timeout value in netvsc_init_recv_buf()

Increase the timeout for this critical guest to host communication.

---
 drivers/staging/hv/netvsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/hv/netvsc.c +1 -1
index 7b5bf0d..267df74 100644
@@ -270,7 +270,7 @@ static int netvsc_init_recv_buf(struct hv_device *device)
 		goto cleanup;
 	}
 
-	t = wait_for_completion_timeout(&net_device->channel_init_wait, HZ);
+	t = wait_for_completion_timeout(&net_device->channel_init_wait, 5*HZ);
 	BUG_ON(t == 0);
 
 
Signature · 1 line
1.7.4.1