aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel_mgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hv/channel_mgmt.c')
-rw-r--r--drivers/hv/channel_mgmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index f4d990285d99..56ed45c74d01 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -302,6 +302,8 @@ static void vmbus_onoffer(struct vmbus_channel_message_header *hdr)
302 offer->connection_id; 302 offer->connection_id;
303 } 303 }
304 304
305 newchannel->target_vp = 0;
306
305 memcpy(&newchannel->offermsg, offer, 307 memcpy(&newchannel->offermsg, offer,
306 sizeof(struct vmbus_channel_offer_channel)); 308 sizeof(struct vmbus_channel_offer_channel));
307 newchannel->monitor_grp = (u8)offer->monitorid / 32; 309 newchannel->monitor_grp = (u8)offer->monitorid / 32;