hyper-v: Hyper-V network broken for Trusty on Server 2008R2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft |
Bug Description
Due to a bug in the Hyper-V host verion 2008R2, we need to use a slightly smaller receive buffer size, otherwise the buffer will not be accepted by the legacy hosts. Without this fix, the network driver will not load while hosting Trusty on Server 2008R2. The following patch addresses the problem:
[PATCH net-next] hyperv: Change the receive buffer size for legacy hosts
Due to a bug in the Hyper-V host verion 2008R2, we need to use a slightly smaller
receive buffer size, otherwise the buffer will not be accepted by the legacy hosts.
Signed-off-by: Haiyang Zhang <email address hidden>
---
drivers/
drivers/
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/drivers/
index 39fc230..ea5f182 100644
--- a/drivers/
+++ b/drivers/
@@ -516,6 +516,7 @@ struct nvsp_message {
#define NETVSC_MTU 65536
#define NETVSC_
+#define NETVSC_
#define NETVSC_
diff --git a/drivers/
index 1a0280d..daddea2 100644
--- a/drivers/
+++ b/drivers/
@@ -365,6 +365,11 @@ static int netvsc_
/* Post the big receive buffer to NetVSP */
+ if (net_device-
+ net_device-
+ else
+ net_device-
+
ret = netvsc_
cleanup:
@@ -898,7 +903,6 @@ int netvsc_
ndev = net_device->ndev;
/* Initialize the NetVSC channel extension */
- net_device-
--
1.7.4.1
affects: | efibootmgr (Ubuntu) → linux (Ubuntu) |
tags: | added: kernel-hyper-v |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
tags: | added: kernel-da-key |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1290151
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.