aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/netvsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hyperv/netvsc.c')
-rw-r--r--drivers/net/hyperv/netvsc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c
index 7d76c9523395..6b463117dcac 100644
--- a/drivers/net/hyperv/netvsc.c
+++ b/drivers/net/hyperv/netvsc.c
@@ -440,7 +440,8 @@ static int negotiate_nvsp_ver(struct hv_device *device,
440 /* NVSPv2 only: Send NDIS config */ 440 /* NVSPv2 only: Send NDIS config */
441 memset(init_packet, 0, sizeof(struct nvsp_message)); 441 memset(init_packet, 0, sizeof(struct nvsp_message));
442 init_packet->hdr.msg_type = NVSP_MSG2_TYPE_SEND_NDIS_CONFIG; 442 init_packet->hdr.msg_type = NVSP_MSG2_TYPE_SEND_NDIS_CONFIG;
443 init_packet->msg.v2_msg.send_ndis_config.mtu = net_device->ndev->mtu; 443 init_packet->msg.v2_msg.send_ndis_config.mtu = net_device->ndev->mtu +
444 ETH_HLEN;
444 init_packet->msg.v2_msg.send_ndis_config.capability.ieee8021q = 1; 445 init_packet->msg.v2_msg.send_ndis_config.capability.ieee8021q = 1;
445 446
446 ret = vmbus_sendpacket(device->channel, init_packet, 447 ret = vmbus_sendpacket(device->channel, init_packet,