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:
whu 2019-07-09 08:21:14 +00:00
parent b16c552f6e
commit 42011dc102

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)