hyperv/vmbus: Fix the wrong size in ndis_offload structure

Submitted by:	whu
MFC after:	2 weeks
Sponsored by:	Microsoft
This commit is contained in:
Wei Hu 2019-07-09 08:21:14 +00:00
parent ace5ce7e70
commit 23a499203c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349857

View File

@ -115,8 +115,8 @@ struct ndis_offload_params {
/* NDIS >= 6.30 */
uint8_t ndis_rsc_ip4; /* NDIS_OFFLOAD_RSC_ */
uint8_t ndis_rsc_ip6; /* NDIS_OFFLOAD_RSC_ */
uint8_t ndis_encap; /* NDIS_OFFLOAD_SET_ */
uint8_t ndis_encap_types;/* NDIS_ENCAP_TYPE_ */
uint32_t ndis_encap; /* NDIS_OFFLOAD_SET_ */
uint32_t ndis_encap_types;/* NDIS_ENCAP_TYPE_ */
};
#define NDIS_OFFLOAD_PARAMS_SIZE sizeof(struct ndis_offload_params)