Author: sephe
Date: Wed Jul 13 04:51:37 2016
New Revision: 302697
URL: https://svnweb.freebsd.org/changeset/base/302697

Log:
  hyperv/vmbus: Remove the embedded offer message from hv_vmbus_channel
  
  MFC after:    1 week
  Sponsored by: Microsoft OSTC
  Differential Revision:        https://reviews.freebsd.org/D7021

Modified:
  head/sys/dev/hyperv/include/hyperv.h
  head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c

Modified: head/sys/dev/hyperv/include/hyperv.h
==============================================================================
--- head/sys/dev/hyperv/include/hyperv.h        Wed Jul 13 04:39:16 2016        
(r302696)
+++ head/sys/dev/hyperv/include/hyperv.h        Wed Jul 13 04:51:37 2016        
(r302697)
@@ -537,7 +537,6 @@ typedef struct hv_vmbus_channel {
        struct hv_device*               device;
        struct vmbus_softc              *vmbus_sc;
        hv_vmbus_channel_state          state;
-       hv_vmbus_channel_offer_channel  offer_msg;
        uint32_t                        ch_flags;       /* VMBUS_CHAN_FLAG_ */
        uint32_t                        ch_id;          /* channel id */
        /*

Modified: head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c
==============================================================================
--- head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c Wed Jul 13 04:39:16 2016        
(r302696)
+++ head/sys/dev/hyperv/vmbus/hv_channel_mgmt.c Wed Jul 13 04:51:37 2016        
(r302697)
@@ -321,8 +321,6 @@ vmbus_channel_on_offer_internal(struct v
                new_channel->ch_sigevt->hc_connid = offer->connection_id;
        }
 
-       memcpy(&new_channel->offer_msg, offer,
-           sizeof(hv_vmbus_channel_offer_channel));
        new_channel->monitor_group = (uint8_t) offer->monitor_id / 32;
        new_channel->monitor_bit = (uint8_t) offer->monitor_id % 32;
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to